4 <name>Tizen.Multimedia.Util</name>
7 <member name="T:Tizen.Multimedia.Util.BitmapFrame">
9 Represents image data returned by a decoder class.
12 <member name="P:Tizen.Multimedia.Util.BitmapFrame.Buffer">
14 Gets the raw image data.
17 <member name="P:Tizen.Multimedia.Util.BitmapFrame.Size">
19 Gets the size of the image.
22 <member name="T:Tizen.Multimedia.Util.GifFrame">
24 Represent gif image data used to encode a gif image with <see cref="T:Tizen.Multimedia.Util.GifEncoder"/>.
27 <member name="M:Tizen.Multimedia.Util.GifFrame.#ctor(System.Byte[],System.UInt32)">
29 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.GifFrame"/> class with a buffer and a delay.
31 <param name="buffer">The raw image buffer to be encoded.</param>
32 <param name="delay">The delay for this image, in 0.001 sec units.</param>
33 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
34 <exception cref="T:System.ArgumentException">The length of <paramref name="buffer"/> is zero.</exception>
36 <member name="P:Tizen.Multimedia.Util.GifFrame.Buffer">
38 Gets the raw image data.
41 <member name="P:Tizen.Multimedia.Util.GifFrame.Delay">
43 Gets or sets the delay for this image.
45 <value>Time delay in 0.001 sec units.</value>
47 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.YV12">
49 YV12 - YCrCb planar format
52 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.Yuv422">
57 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.I420">
62 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.NV12">
67 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.Uyvy">
72 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.Yuyv">
77 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.Rgb565">
79 RGB565, high-byte is Blue
82 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.Rgb888">
84 RGB888, high-byte is Blue
87 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.Argb8888">
89 ARGB8888, high-byte is Blue
92 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.Bgra8888">
94 BGRA8888, high-byte is Alpha
97 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.Rgba8888">
99 RGBA8888, high-byte is Alpha
102 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.Bgrx8888">
104 BGRX8888, high-byte is X
107 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.NV21">
112 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.NV16">
117 <member name="F:Tizen.Multimedia.Util.ImageColorSpace.NV61">
122 <member name="T:Tizen.Multimedia.Util.ImageDecoder">
124 This is a base class for image decoders.
127 <member name="P:Tizen.Multimedia.Util.ImageDecoder.InputFormat">
129 Gets the image format of this decoder.
132 <member name="M:Tizen.Multimedia.Util.ImageDecoder.SetColorSpace(Tizen.Multimedia.ColorSpace)">
134 Sets the color-space to decode into. The default is <see cref="F:Tizen.Multimedia.ColorSpace.Rgba8888"/>.
136 <param name="colorSpace">The value indicating color-space to decode into.</param>
137 <exception cref="T:System.ArgumentException"><paramref name="colorSpace"/> is invalid.</exception>
138 <exception cref="T:System.NotSupportedException"><paramref name="colorSpace"/> is not supported by the decoder.</exception>
139 <seealso cref="M:Tizen.Multimedia.Util.ImageUtil.GetSupportedColorSpaces(Tizen.Multimedia.Util.ImageFormat)"/>
141 <member name="M:Tizen.Multimedia.Util.ImageDecoder.DecodeAsync(System.String)">
143 Decodes an image from the specified file.
145 <param name="inputFilePath">Input file path from which to decode.</param>
146 <returns>A task that represents the asynchronous decoding operation.</returns>
148 Only Graphics Interchange Format(GIF) codec returns more than one frame.\n
150 http://tizen.org/privilege/mediastorage is needed if <paramref name="inputFilePath"/> is relevant to media storage.\n
151 http://tizen.org/privilege/externalstorage is needed if <paramref name="inputFilePath"/> is relevant to external storage.
153 <exception cref="T:System.ArgumentNullException"><paramref name="inputFilePath"/> is null.</exception>
154 <exception cref="T:System.ArgumentException">
155 <paramref name="inputFilePath"/> is an empty string.\n
157 <paramref name="inputFilePath"/> is not a image file.\n
159 The format of <paramref name="inputFilePath"/> is not <see cref="P:Tizen.Multimedia.Util.ImageDecoder.InputFormat"/>.
161 <exception cref="T:System.IO.FileNotFoundException"><paramref name="inputFilePath"/> does not exists.</exception>
162 <exception cref="T:System.UnauthorizedAccessException">Caller does not have required permission to access the path.</exception>
163 <exception cref="T:Tizen.Multimedia.FileFormatException">The format of <paramref name="inputFilePath"/> is not <see cref="P:Tizen.Multimedia.Util.ImageDecoder.InputFormat"/>.</exception>
164 <exception cref="T:System.ObjectDisposedException">The <see cref="T:Tizen.Multimedia.Util.ImageDecoder"/> has already been disposed of.</exception>
166 <member name="M:Tizen.Multimedia.Util.ImageDecoder.DecodeAsync(System.Byte[])">
168 Decodes an image from the buffer.
170 <param name="inputBuffer">The image buffer from which to decode.</param>
171 <returns>A task that represents the asynchronous decoding operation.</returns>
173 Only Graphics Interchange Format(GIF) codec returns more than one frame.\n
175 <exception cref="T:System.ArgumentNullException"><paramref name="inputBuffer"/> is null.</exception>
176 <exception cref="T:System.ArgumentException">
177 <paramref name="inputBuffer"/> is an empty array.\n
179 The format of <paramref name="inputBuffer"/> is not <see cref="P:Tizen.Multimedia.Util.ImageDecoder.InputFormat"/>.
181 <exception cref="T:Tizen.Multimedia.FileFormatException">The format of <paramref name="inputBuffer"/> is not <see cref="P:Tizen.Multimedia.Util.ImageDecoder.InputFormat"/>.</exception>
182 <exception cref="T:System.ObjectDisposedException">The <see cref="T:Tizen.Multimedia.Util.ImageDecoder"/> has already been disposed of.</exception>
184 <member name="M:Tizen.Multimedia.Util.ImageDecoder.Dispose(System.Boolean)">
186 Releases the unmanaged resources used by the ImageDecoder.
188 <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
190 <member name="M:Tizen.Multimedia.Util.ImageDecoder.Dispose">
192 Releases all resources used by the ImageDecoder.
195 <member name="T:Tizen.Multimedia.Util.BmpDecoder">
197 Provides the ability to decode Bitmap (BMP) encoded images.
200 <member name="M:Tizen.Multimedia.Util.BmpDecoder.#ctor">
202 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.BmpDecoder"/> class.
204 <remarks><see cref="P:Tizen.Multimedia.Util.ImageDecoder.InputFormat"/> will be the <see cref="F:Tizen.Multimedia.Util.ImageFormat.Bmp"/>.</remarks>
206 <member name="T:Tizen.Multimedia.Util.PngDecoder">
208 Provides the ability to decode Portable Network Graphics (PNG) encoded images.
211 <member name="M:Tizen.Multimedia.Util.PngDecoder.#ctor">
213 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.PngDecoder"/> class.
215 <remarks><see cref="P:Tizen.Multimedia.Util.ImageDecoder.InputFormat"/> will be the <see cref="F:Tizen.Multimedia.Util.ImageFormat.Png"/>.</remarks>
217 <member name="T:Tizen.Multimedia.Util.JpegDecoder">
219 Provides the ability to decode Joint Photographic Experts Group (JPEG) encoded images.
222 <member name="F:Tizen.Multimedia.Util.JpegDecoder.DefaultJpegDownscale">
224 A read-only field that represents the default value of <see cref="P:Tizen.Multimedia.Util.JpegDecoder.Downscale"/>.
227 <member name="M:Tizen.Multimedia.Util.JpegDecoder.#ctor">
229 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.JpegDecoder"/> class.
231 <remarks><see cref="P:Tizen.Multimedia.Util.ImageDecoder.InputFormat"/> will be the <see cref="F:Tizen.Multimedia.Util.ImageFormat.Jpeg"/>.</remarks>
233 <member name="P:Tizen.Multimedia.Util.JpegDecoder.Downscale">
235 Gets or sets the downscale at which the jpeg image should be decoded.
237 <exception cref="T:System.ArgumentException"><paramref name="value"/> is invalid.</exception>
239 <member name="T:Tizen.Multimedia.Util.GifDecoder">
241 Provides the ability to decode Graphics Interchange Format (GIF) encoded images.
244 <member name="M:Tizen.Multimedia.Util.GifDecoder.#ctor">
246 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.GifDecoder"/> class.
248 <remarks><see cref="P:Tizen.Multimedia.Util.ImageDecoder.InputFormat"/> will be the <see cref="F:Tizen.Multimedia.Util.ImageFormat.Gif"/>.</remarks>
250 <member name="T:Tizen.Multimedia.Util.ImageEncoder">
252 This is a base class for image encoders.
255 <member name="P:Tizen.Multimedia.Util.ImageEncoder.OutputFormat">
257 Gets the image format of this encoder.
260 <member name="M:Tizen.Multimedia.Util.ImageEncoder.SetResolution(Tizen.Multimedia.Size)">
262 Sets the resolution of the output image.
264 <param name="resolution">The target resolution.</param>
265 <exception cref="T:System.ArgumentOutOfRangeException">
266 The width of <paramref name="resolution"/> is less than or equal to zero.\n
268 The height of <paramref name="resolution"/> is less than or equal to zero.
271 <member name="M:Tizen.Multimedia.Util.ImageEncoder.SetColorSpace(Tizen.Multimedia.ColorSpace)">
273 Sets the color-space of the output image.
275 <param name="colorSpace">The target color-space.</param>
276 <exception cref="T:System.ArgumentException"><paramref name="colorSpace"/> is invalid.</exception>
277 <exception cref="T:System.NotSupportedException"><paramref name="colorSpace"/> is not supported by the encoder.</exception>
278 <seealso cref="M:Tizen.Multimedia.Util.ImageUtil.GetSupportedColorSpaces(Tizen.Multimedia.Util.ImageFormat)"/>
280 <member name="M:Tizen.Multimedia.Util.ImageEncoder.EncodeAsync(System.Byte[],System.IO.Stream)">
282 Encodes an image from a raw image buffer to a specified <see cref="T:System.IO.Stream"/>.
284 <param name="inputBuffer">The image buffer to encode.</param>
285 <param name="outStream">The stream that the image is encoded to.</param>
286 <returns>A task that represents the asynchronous encoding operation.</returns>
287 <exception cref="T:System.ArgumentNullException">
288 <paramref name="inputBuffer"/> is null.\n
290 <paramref name="outStream"/> is null.
292 <exception cref="T:System.ArgumentException">
293 <paramref name="inputBuffer"/> is an empty array.\n
295 <paramref name="outStream"/> is not writable.\n
297 <exception cref="T:System.InvalidOperationException">The resolution is not set.</exception>
298 <exception cref="T:System.ObjectDisposedException">The <see cref="T:Tizen.Multimedia.Util.ImageEncoder"/> has already been disposed of.</exception>
299 <seealso cref="M:Tizen.Multimedia.Util.ImageEncoder.SetResolution(Tizen.Multimedia.Size)"/>
301 <member name="M:Tizen.Multimedia.Util.ImageEncoder.Dispose(System.Boolean)">
303 Releases the unmanaged resources used by the ImageEncoder.
305 <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
307 <member name="M:Tizen.Multimedia.Util.ImageEncoder.Dispose">
309 Releases all resources used by the ImageEncoder.
312 <member name="T:Tizen.Multimedia.Util.BmpEncoder">
314 Provides the ability to encode Bitmap (BMP) format images.
317 <member name="M:Tizen.Multimedia.Util.BmpEncoder.#ctor">
319 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.BmpEncoder"/> class.
321 <remarks><see cref="P:Tizen.Multimedia.Util.ImageEncoder.OutputFormat"/> will be the <see cref="F:Tizen.Multimedia.Util.ImageFormat.Bmp"/>.</remarks>
323 <member name="T:Tizen.Multimedia.Util.PngEncoder">
325 Provides the ability to encode Portable Network Graphics (PNG) format images.
328 <member name="F:Tizen.Multimedia.Util.PngEncoder.DefaultCompression">
330 A read-only field that represents the default value of <see cref="P:Tizen.Multimedia.Util.PngEncoder.Compression"/>.
333 <member name="M:Tizen.Multimedia.Util.PngEncoder.#ctor">
335 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.PngEncoder"/> class.
337 <remarks><see cref="P:Tizen.Multimedia.Util.ImageEncoder.OutputFormat"/> will be the <see cref="F:Tizen.Multimedia.Util.ImageFormat.Png"/>.</remarks>
339 <member name="M:Tizen.Multimedia.Util.PngEncoder.#ctor(Tizen.Multimedia.Util.PngCompression)">
341 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.PngEncoder"/> class with <see cref="T:Tizen.Multimedia.Util.PngCompression"/>.
343 <remarks><see cref="P:Tizen.Multimedia.Util.ImageEncoder.OutputFormat"/> will be the <see cref="F:Tizen.Multimedia.Util.ImageFormat.Png"/>.</remarks>
344 <param name="compression">The compression level of the encoder.</param>
345 <exception cref="T:System.ArgumentException"><paramref name="compression"/> is invalid.</exception>
347 <member name="P:Tizen.Multimedia.Util.PngEncoder.Compression">
349 Gets or sets the compression level of the png image.
351 <value>The compression level. The default is <see cref="F:Tizen.Multimedia.Util.PngCompression.Level6"/>.</value>
352 <exception cref="T:System.ArgumentException"><paramref name="value"/> is invalid.</exception>
354 <member name="T:Tizen.Multimedia.Util.JpegEncoder">
356 Provides the ability to encode Joint Photographic Experts Group (JPEG) format images.
359 <member name="F:Tizen.Multimedia.Util.JpegEncoder.DefaultQuality">
361 A read-only field that represents the default value of <see cref="P:Tizen.Multimedia.Util.JpegEncoder.Quality"/>.
364 <member name="M:Tizen.Multimedia.Util.JpegEncoder.#ctor">
366 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.JpegEncoder"/> class.
368 <remarks><see cref="P:Tizen.Multimedia.Util.ImageEncoder.OutputFormat"/> will be the <see cref="F:Tizen.Multimedia.Util.ImageFormat.Jpeg"/>.</remarks>
370 <member name="M:Tizen.Multimedia.Util.JpegEncoder.#ctor(System.Int32)">
372 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.JpegEncoder"/> class with initial quality value.
374 <param name="quality">The quality for JPEG image encoding; from 1(lowest quality) to 100(highest quality).</param>
375 <remarks><see cref="P:Tizen.Multimedia.Util.ImageEncoder.OutputFormat"/> will be the <see cref="F:Tizen.Multimedia.Util.ImageFormat.Jpeg"/>.</remarks>
376 <exception cref="T:System.ArgumentOutOfRangeException">
377 <paramref name="quality"/> is less than or equal to 0.\n
379 <paramref name="quality"/> is greater than 100.
382 <member name="P:Tizen.Multimedia.Util.JpegEncoder.Quality">
384 Gets or sets the quality of the encoded image.
387 The quality of the output image. The default is 75.\n
388 Valid value is from 1(lowest quality) to 100(highest quality).
390 <exception cref="T:System.ArgumentOutOfRangeException">
391 <paramref name="value"/> is less than or equal to 0.\n
393 <paramref name="value"/> is greater than 100.
396 <member name="T:Tizen.Multimedia.Util.GifEncoder">
398 Provides the ability to encode Graphics Interchange Format (GIF) format images.
401 <member name="M:Tizen.Multimedia.Util.GifEncoder.#ctor">
403 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.GifEncoder"/> class.
405 <remarks><see cref="P:Tizen.Multimedia.Util.ImageEncoder.OutputFormat"/> will be the <see cref="F:Tizen.Multimedia.Util.ImageFormat.Gif"/>.</remarks>
407 <member name="M:Tizen.Multimedia.Util.GifEncoder.EncodeAsync(System.Collections.Generic.IEnumerable{Tizen.Multimedia.Util.GifFrame},System.IO.Stream)">
409 Encodes a Graphics Interchange Format (GIF) image from multiple raw image buffers to a specified <see cref="T:System.IO.Stream"/>.
411 <param name="frames">The image frames to encode.</param>
412 <param name="outStream">The stream that the image is encoded to.</param>
413 <returns>A task that represents the asynchronous encoding operation.</returns>
414 <exception cref="T:System.ArgumentNullException">
415 <paramref name="frames"/> is null.\n
417 <paramref name="outStream"/> is null.
419 <exception cref="T:System.ArgumentException">
420 <paramref name="frames"/> has no element(empty).\n
422 <paramref name="outStream"/> is not writable.\n
424 <exception cref="T:System.InvalidOperationException">The resolution is not set.</exception>
425 <exception cref="T:System.ObjectDisposedException">The <see cref="T:Tizen.Multimedia.Util.ImageEncoder"/> has already been disposed of.</exception>
426 <seealso cref="M:Tizen.Multimedia.Util.ImageEncoder.SetResolution(Tizen.Multimedia.Size)"/>
428 <member name="T:Tizen.Multimedia.Util.ImageFormat">
430 Specifies image formats for <see cref="T:Tizen.Multimedia.Util.ImageDecoder"/>, <see cref="T:Tizen.Multimedia.Util.ImageEncoder"/> and <see cref="T:Tizen.Multimedia.Util.ImageUtil"/>.
433 <member name="F:Tizen.Multimedia.Util.ImageFormat.Jpeg">
435 The Joint Photographic Experts Group format.
438 <member name="F:Tizen.Multimedia.Util.ImageFormat.Png">
440 The Portable Network Graphics format.
443 <member name="F:Tizen.Multimedia.Util.ImageFormat.Gif">
445 The Graphics Interchange Format.
448 <member name="F:Tizen.Multimedia.Util.ImageFormat.Bmp">
453 <member name="T:Tizen.Multimedia.Util.ImageRotation">
455 Specifies how an image is rotated or flipped.
457 <seealso cref="T:Tizen.Multimedia.Util.RotateTransform"/>
459 <member name="F:Tizen.Multimedia.Util.ImageRotation.Rotate0">
464 <member name="F:Tizen.Multimedia.Util.ImageRotation.Rotate90">
466 Rotate 90 degree clockwise.
469 <member name="F:Tizen.Multimedia.Util.ImageRotation.Rotate180">
471 Rotate 180 degree clockwise.
474 <member name="F:Tizen.Multimedia.Util.ImageRotation.Rotate270">
476 Rotate 270 degree clockwise.
479 <member name="F:Tizen.Multimedia.Util.ImageRotation.FlipHorizontal">
484 <member name="F:Tizen.Multimedia.Util.ImageRotation.FlipVertical">
489 <member name="T:Tizen.Multimedia.Util.ImageTransform">
491 A base class for image transformations.
494 <member name="T:Tizen.Multimedia.Util.ImageTransformCollection">
496 Represents a collection of <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> objects that can be individually accessed by index.
499 <member name="M:Tizen.Multimedia.Util.ImageTransformCollection.#ctor">
501 Initializes a new instance of the ImageTransformCollection class.
504 <member name="P:Tizen.Multimedia.Util.ImageTransformCollection.Item(System.Int32)">
506 Gets or sets the <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> at the specified index.
508 <param name="index">The zero-based index of the <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> to get or set.</param>
509 <value>The <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> at the specified index.</value>
510 <exception cref="T:System.ArgumentOutOfRangeException">
511 index is less than 0.\n
513 index is equal to or greater than Count.
516 <member name="P:Tizen.Multimedia.Util.ImageTransformCollection.Count">
518 Gets the number of items contained in the TransformCollection.
521 <member name="M:Tizen.Multimedia.Util.ImageTransformCollection.Add(Tizen.Multimedia.Util.ImageTransform)">
523 Adds a <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> to the end of the collection.
525 <param name="item">The <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> to add.</param>
527 <see cref="T:Tizen.Multimedia.Util.ImageTransformCollection"/> accepts null as a valid value for reference types and allows duplicate elements.
530 <member name="M:Tizen.Multimedia.Util.ImageTransformCollection.Clear">
535 <member name="M:Tizen.Multimedia.Util.ImageTransformCollection.Contains(Tizen.Multimedia.Util.ImageTransform)">
537 Determines whether the <see cref="T:Tizen.Multimedia.Util.ImageTransformCollection"/> contains the specified item.
539 <param name="item">The <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> to locate in the collection.</param>
540 <returns>true if the <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> is found in the collection; otherwise, false.</returns>
542 <member name="M:Tizen.Multimedia.Util.ImageTransformCollection.CopyTo(Tizen.Multimedia.Util.ImageTransform[],System.Int32)">
544 Copies the items of the collection to an array, starting at the specified array index.
546 <param name="array">The one-dimensional array that is the destination of the items copied from the collection.</param>
547 <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
548 <exception cref="T:System.ArgumentNullException"><paramref name="array"/> is null.</exception>
549 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="arrayIndex"/> is less than 0.</exception>
550 <exception cref="T:System.ArgumentException">
551 The number of elements in the source collection is greater than the available space from arrayIndex to the end of the destination array.
554 <member name="M:Tizen.Multimedia.Util.ImageTransformCollection.IndexOf(Tizen.Multimedia.Util.ImageTransform)">
556 Determines the index of the specified item in the collection.
558 <param name="item">The <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> to locate in the collection.</param>
559 <returns>The index of value if found in the <see cref="T:Tizen.Multimedia.Util.ImageTransformCollection"/>; otherwise, -1.</returns>
561 <member name="M:Tizen.Multimedia.Util.ImageTransformCollection.Insert(System.Int32,Tizen.Multimedia.Util.ImageTransform)">
563 Inserts a <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> into the collection at the specified index.
565 <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
566 <param name="item">The <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> to insert into the collection.</param>
567 <exception cref="T:System.ArgumentNullException"><paramref name="item"/> is null.</exception>
568 <exception cref="T:System.ArgumentOutOfRangeException">
569 index is less than 0.\n
571 index is greater than <see cref="P:Tizen.Multimedia.Util.ImageTransformCollection.Count"/>.
574 <member name="M:Tizen.Multimedia.Util.ImageTransformCollection.Remove(Tizen.Multimedia.Util.ImageTransform)">
576 Removes the first occurrence of the specified <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> from the collection.
578 <param name="item">The <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> to remove.</param>
579 <returns>true if <paramref name="item"/> was removed from the collection; otherwise, false.</returns>
581 <member name="M:Tizen.Multimedia.Util.ImageTransformCollection.RemoveAt(System.Int32)">
583 Removes the <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> at the specified index.
585 <param name="index">The zero-based index to remove.</param>
586 <exception cref="T:System.ArgumentOutOfRangeException">
587 index is less than 0.\n
589 index is equal to or greater than <see cref="P:Tizen.Multimedia.Util.ImageTransformCollection.Count"/>.
592 <member name="M:Tizen.Multimedia.Util.ImageTransformCollection.GetEnumerator">
594 Returns an enumerator that can iterate through the collection.
596 <returns>A enumerator that can be used to iterate through the collection.</returns>
598 <member name="T:Tizen.Multimedia.Util.ImageTransformGroup">
600 Represents a <see cref="T:Tizen.Multimedia.Util.ImageTransform"/> that is a composite of the transforms.
603 <member name="P:Tizen.Multimedia.Util.ImageTransformGroup.Children">
605 Gets or sets the <see cref="T:Tizen.Multimedia.Util.ImageTransformCollection"/>.
608 <member name="M:Tizen.Multimedia.Util.ImageTransformGroup.#ctor">
610 Initializes a new instance of the ImageTransformGroup class.
613 <member name="T:Tizen.Multimedia.Util.RotateTransform">
615 Rotates or flips an image.
617 <seealso cref="P:Tizen.Multimedia.Util.RotateTransform.Rotation"/>
619 <member name="M:Tizen.Multimedia.Util.RotateTransform.#ctor(Tizen.Multimedia.Rotation)">
621 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.RotateTransform"/> class.
623 <param name="rotation">The value how to rotate an image.</param>
624 <exception cref="T:System.ArgumentException"><paramref name="rotation"/> is invalid.</exception>
625 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="rotation"/> is <see cref="F:Tizen.Multimedia.Rotation.Rotate90"/>.</exception>
627 <member name="P:Tizen.Multimedia.Util.RotateTransform.Rotation">
629 Gets or sets the value how to rotate an image.
631 <exception cref="T:System.ArgumentException"><paramref name="value"/> is invalid.</exception>
632 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value"/> is <see cref="F:Tizen.Multimedia.Rotation.Rotate90"/>.</exception>
634 <member name="T:Tizen.Multimedia.Util.FlipTransform">
636 Rotates or flips an image.
638 <seealso cref="T:Tizen.Multimedia.Rotation"/>
640 <member name="M:Tizen.Multimedia.Util.FlipTransform.#ctor(Tizen.Multimedia.Flips)">
642 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.RotateTransform"/> class.
644 <param name="flip">The value how to flip an image.</param>
645 <exception cref="T:System.ArgumentException"><paramref name="flip"/> is invalid.</exception>
646 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="flip"/> is <see cref="F:Tizen.Multimedia.Flips.None"/>.</exception>
648 <member name="P:Tizen.Multimedia.Util.FlipTransform.Flip">
650 Gets or sets the value how to rotate an image.
652 <exception cref="T:System.ArgumentException"><paramref name="value"/> is invalid.</exception>
653 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value"/> is <see cref="F:Tizen.Multimedia.Flips.None"/>.</exception>
655 <member name="T:Tizen.Multimedia.Util.ColorSpaceTransform">
657 Changes colorspace of image.
659 <seealso cref="P:Tizen.Multimedia.Util.ColorSpaceTransform.ColorSpace"/>
661 <member name="M:Tizen.Multimedia.Util.ColorSpaceTransform.#ctor(Tizen.Multimedia.ColorSpace)">
663 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.ColorSpaceTransform"/> class.
665 <param name="colorSpace">The colorspace of output image.</param>
666 <exception cref="T:System.ArgumentException"><paramref name="colorSpace"/> is invalid.</exception>
667 <exception cref="T:System.NotSupportedException"><paramref name="colorSpace"/> is not supported.</exception>
668 <seealso cref="P:Tizen.Multimedia.Util.ColorSpaceTransform.SupportedColorSpaces"/>
670 <member name="P:Tizen.Multimedia.Util.ColorSpaceTransform.ColorSpace">
672 Gets or sets the colorspace of the result image.
674 <exception cref="T:System.ArgumentException"><paramref name="value"/> is invalid.</exception>
675 <exception cref="T:System.NotSupportedException"><paramref name="value"/> is not supported.</exception>
676 <seealso cref="P:Tizen.Multimedia.Util.ColorSpaceTransform.SupportedColorSpaces"/>
678 <member name="P:Tizen.Multimedia.Util.ColorSpaceTransform.SupportedColorSpaces">
680 Gets the supported colorspaces for <see cref="T:Tizen.Multimedia.Util.ColorSpaceTransform"/>.
683 <member name="T:Tizen.Multimedia.Util.CropTransform">
688 <member name="M:Tizen.Multimedia.Util.CropTransform.#ctor(Tizen.Multimedia.Rectangle)">
690 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.CropTransform"/> class.
692 <param name="region">The crop region.</param>
693 <exception cref="T:System.ArgumentOutOfRangeException">
694 The X-position of <paramref name="region"/> is less than zero.\n
696 The Y-position of <paramref name="region"/> is less than zero.\n
698 The width of <paramref name="region"/> is less than or equal to zero.\n
700 The height of <paramref name="region"/> is less than or equal to zero.
703 <member name="P:Tizen.Multimedia.Util.CropTransform.Region">
705 Gets or sets the crop region.
707 <exception cref="T:System.ArgumentOutOfRangeException">
708 The X-position of <paramref name="value"/> is less than zero.\n
710 The Y-position of <paramref name="value"/> is less than zero.\n
712 The width of <paramref name="value"/> is less than or equal to zero.\n
714 The height of <paramref name="value"/> is less than or equal to zero.
717 <member name="T:Tizen.Multimedia.Util.ResizeTransform">
722 <member name="M:Tizen.Multimedia.Util.ResizeTransform.#ctor(Tizen.Multimedia.Size)">
724 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.ResizeTransform"/> class.
726 <param name="size">The size that an image is resized to.</param>
727 <exception cref="T:System.ArgumentOutOfRangeException">
728 The width of <paramref name="size"/> is less than or equal to zero.\n
730 The height of <paramref name="size"/> is less than or equal to zero.
733 <member name="P:Tizen.Multimedia.Util.ResizeTransform.Size">
735 Gets or sets the size that an image is resized to.
737 <exception cref="T:System.ArgumentOutOfRangeException">
738 The width of <paramref name="value"/> is less than or equal to zero.\n
740 The height of <paramref name="value"/> is less than or equal to zero.
743 <member name="T:Tizen.Multimedia.Util.ImageTransformer">
745 Provides the ability to transform an image.
748 <member name="M:Tizen.Multimedia.Util.ImageTransformer.#ctor">
750 Initialize a new instance of the <see cref="T:Tizen.Multimedia.Util.ImageTransformer"/> class.
753 <member name="M:Tizen.Multimedia.Util.ImageTransformer.TransformAsync(Tizen.Multimedia.MediaPacket,Tizen.Multimedia.Util.ImageTransform)">
755 Transforms an image with <see cref="T:Tizen.Multimedia.Util.ImageTransform"/>.
757 <param name="source"><see cref="T:Tizen.Multimedia.MediaPacket"/> to transform. The <see cref="P:Tizen.Multimedia.MediaPacket.Format"/> of this <paramref name="source"/> must be <see cref="T:Tizen.Multimedia.VideoMediaFormat"/>.</param>
758 <param name="item"><see cref="T:Tizen.Multimedia.Util.ImageTransform"/> to apply.</param>
759 <returns>A task that represents the asynchronous transforming operation.</returns>
760 <exception cref="T:System.ArgumentNullException">
761 <paramref name="source"/> is null.\n
763 <paramref name="item"/> is null.
765 <exception cref="T:System.ObjectDisposedException">The <see cref="T:Tizen.Multimedia.Util.ImageTransformer"/> has already been disposed of.</exception>
766 <exception cref="T:System.InvalidOperationException">Failed to apply <see cref="T:Tizen.Multimedia.Util.ImageTransform"/>.</exception>
768 <member name="M:Tizen.Multimedia.Util.ImageTransformer.Dispose(System.Boolean)">
770 Releases the unmanaged resources used by the ImageTransformer.
772 <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
774 <member name="M:Tizen.Multimedia.Util.ImageTransformer.Dispose">
776 Releases all resources used by the ImageTransformer.
779 <member name="T:Tizen.Multimedia.Util.ImageUtil">
781 Provides utilities for images.
784 <member name="M:Tizen.Multimedia.Util.ImageUtil.GetSupportedColorSpaces(Tizen.Multimedia.Util.ImageFormat)">
786 Retrieves supported colorspaces for a <see cref="T:Tizen.Multimedia.Util.ImageFormat"/> that represents formats for <see cref="T:Tizen.Multimedia.Util.ImageEncoder"/> and <see cref="T:Tizen.Multimedia.Util.ImageDecoder"/>.
788 <returns>An IEnumerable of <see cref="T:Tizen.Multimedia.ColorSpace"/> representing the supported color-spaces.</returns>
789 <param name="format">The <see cref="T:Tizen.Multimedia.Util.ImageFormat"/>.</param>
790 <exception cref="T:System.ArgumentException"><paramref name="format"/> is invalid.</exception>
792 <member name="M:Tizen.Multimedia.Util.ImageUtil.CalculateBufferSize(Tizen.Multimedia.Size,Tizen.Multimedia.ColorSpace)">
794 Calculates the size of the image buffer for the specified resolution and color-space.
796 <param name="resolution">The resolution of the image.</param>
797 <param name="colorSpace"><see cref="T:Tizen.Multimedia.ColorSpace"/> of the image.</param>
798 <returns>The buffer size.</returns>
799 <exception cref="T:System.ArgumentOutOfRangeException">
800 width of <paramref name="resolution"/> is less than or equal to zero.\n
802 height of <paramref name="resolution"/> is less than or equal to zero.
804 <exception cref="T:System.ArgumentException"><paramref name="colorSpace"/> is invalid.</exception>
806 <member name="M:Tizen.Multimedia.Util.ImageUtil.GetColor(System.Byte[],Tizen.Multimedia.Size)">
808 Extracts representative color from an image buffer.
810 <param name="buffer">Raw image buffer.</param>
811 <param name="size">Resolution of the image.</param>
812 <remarks>The image should be <see cref="F:Tizen.Multimedia.ColorSpace.Rgb888"/>.</remarks>
813 <returns>The representative color of the image.</returns>
814 <see cref="T:Tizen.Multimedia.Util.BitmapFrame"/>
815 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
816 <exception cref="T:System.ArgumentException"><paramref name="buffer"/> is empty.</exception>
817 <exception cref="T:System.ArgumentOutOfRangeException">
818 width of <paramref name="size"/> is less than or equal to zero.\n
820 height of <paramref name="size"/> is less than or equal to zero.
823 <member name="T:Tizen.Multimedia.Util.JpegDownscale">
825 Specifies JPEG Downscale options for decoding.
828 <member name="F:Tizen.Multimedia.Util.JpegDownscale.None">
833 <member name="F:Tizen.Multimedia.Util.JpegDownscale.OneHalf">
838 <member name="F:Tizen.Multimedia.Util.JpegDownscale.OneFourth">
843 <member name="F:Tizen.Multimedia.Util.JpegDownscale.OneEighth">
848 <member name="T:Tizen.Multimedia.Util.PngCompression">
850 Specifies PNG compression levels.
853 <member name="F:Tizen.Multimedia.Util.PngCompression.None">
858 <member name="F:Tizen.Multimedia.Util.PngCompression.Level1">
860 Compression Level 1. Best speed.
863 <member name="F:Tizen.Multimedia.Util.PngCompression.Level2">
868 <member name="F:Tizen.Multimedia.Util.PngCompression.Level3">
873 <member name="F:Tizen.Multimedia.Util.PngCompression.Level4">
878 <member name="F:Tizen.Multimedia.Util.PngCompression.Level5">
883 <member name="F:Tizen.Multimedia.Util.PngCompression.Level6">
888 <member name="F:Tizen.Multimedia.Util.PngCompression.Level7">
893 <member name="F:Tizen.Multimedia.Util.PngCompression.Level8">
898 <member name="F:Tizen.Multimedia.Util.PngCompression.Level9">
903 <member name="T:Tizen.Multimedia.Util.ThumbnailExtractionResult">
905 Represents the result of thumbnail extraction.
908 <member name="P:Tizen.Multimedia.Util.ThumbnailExtractionResult.RawData">
912 <since_tizen> 3 </since_tizen>
914 <member name="P:Tizen.Multimedia.Util.ThumbnailExtractionResult.Size">
916 The size of the thumbnail.
918 <since_tizen> 3 </since_tizen>
920 <member name="T:Tizen.Multimedia.Util.ThumbnailExtractor">
922 Provides the ability to extract the thumbnail from media files.
925 <member name="M:Tizen.Multimedia.Util.ThumbnailExtractor.ExtractAsync(System.String)">
927 Extracts the thumbnail for the given media with the specified path.
929 <since_tizen> 3 </since_tizen>
930 <returns>A task that represents the asynchronous extracting operation.</returns>
931 <remarks>The size of the thumbnail will be the default size(320x240).\n</remarks>
932 <param name="path">The path of the media file to extract the thumbnail.</param>
933 <exception cref="T:System.ArgumentNullException"><paramref name="path"/> is null.</exception>
934 <exception cref="T:System.IO.FileNotFoundException">Requested <paramref name="path"/> does not exist.</exception>
935 <exception cref="T:System.InvalidOperationException">Internal error occurred.</exception>
936 <exception cref="T:System.UnauthorizedAccessException">Caller does not have required privilege for accessing the <paramref name="path"/>.</exception>
937 <exception cref="T:Tizen.Multimedia.FileFormatException">The specified file is not supported.</exception>
939 <member name="M:Tizen.Multimedia.Util.ThumbnailExtractor.ExtractAsync(System.String,System.Threading.CancellationToken)">
941 Extracts the thumbnail for the given media with the specified path.
943 <returns>A task that represents the asynchronous extracting operation.</returns>
944 <remarks>The size of the thumbnail will be the default size(320x240).\n</remarks>
945 <param name="path">The path of the media file to extract the thumbnail.</param>
946 <param name="cancellationToken">The token to stop the operation.</param>
947 <exception cref="T:System.ArgumentNullException"><paramref name="path"/> is null.</exception>
948 <exception cref="T:System.IO.FileNotFoundException">Requested <paramref name="path"/> does not exist.</exception>
949 <exception cref="T:System.InvalidOperationException">Internal error occurred.</exception>
950 <exception cref="T:System.UnauthorizedAccessException">Caller does not have required privilege for accessing the <paramref name="path"/>.</exception>
951 <exception cref="T:Tizen.Multimedia.FileFormatException">The specified file is not supported.</exception>
953 <member name="M:Tizen.Multimedia.Util.ThumbnailExtractor.ExtractAsync(System.String,Tizen.Multimedia.Size)">
955 Extracts the thumbnail for the given media with the specified path and size.
957 <since_tizen> 3 </since_tizen>
958 <returns>A task that represents the asynchronous extracting operation.</returns>
960 If the width is not a multiple of 8, it can be changed by inner process.\n
961 The width will be a multiple of 8 greater than the set value.
963 <param name="path">The path of the media file to extract the thumbnail.</param>
964 <param name="size">The size of the thumbnail.</param>
965 <exception cref="T:System.ArgumentNullException"><paramref name="path"/> is null.</exception>
966 <exception cref="T:System.IO.FileNotFoundException">Requested <paramref name="path"/> does not exist.</exception>
967 <exception cref="T:System.InvalidOperationException">Internal error occurred.</exception>
968 <exception cref="T:System.UnauthorizedAccessException">Caller does not have required privilege for accessing the <paramref name="path"/>.</exception>
969 <exception cref="T:System.ArgumentOutOfRangeException">
970 Width or height of <paramref name="size"/> is less than or equal to zero.
972 <exception cref="T:Tizen.Multimedia.FileFormatException">The specified file is not supported.</exception>
974 <member name="M:Tizen.Multimedia.Util.ThumbnailExtractor.ExtractAsync(System.String,Tizen.Multimedia.Size,System.Threading.CancellationToken)">
976 Extracts the thumbnail for the given media with the specified path and size.
978 <since_tizen> 3 </since_tizen>
979 <returns>A task that represents the asynchronous extracting operation.</returns>
981 If the width is not a multiple of 8, it can be changed by inner process.\n
982 The width will be a multiple of 8 greater than the set value.
984 <param name="path">The path of the media file to extract the thumbnail.</param>
985 <param name="size">The size of the thumbnail.</param>
986 <param name="cancellationToken">The token to stop the operation.</param>
987 <exception cref="T:System.ArgumentNullException"><paramref name="path"/> is null.</exception>
988 <exception cref="T:System.IO.FileNotFoundException">Requested <paramref name="path"/> does not exist.</exception>
989 <exception cref="T:System.InvalidOperationException">Internal error occurred.</exception>
990 <exception cref="T:System.UnauthorizedAccessException">Caller does not have required privilege for accessing the <paramref name="path"/>.</exception>
991 <exception cref="T:System.ArgumentOutOfRangeException">
992 Width or height of <paramref name="size"/> is less than or equal to zero.
994 <exception cref="T:Tizen.Multimedia.FileFormatException">The specified file is not supported.</exception>