Class ImageTransformer
Definition
- Namespace:
- Tizen.Multimedia.Util
- Assembly:
- Tizen.Multimedia.Util.dll
Provides the ability to transform an image.
C#Copypublic class ImageTransformer : IDisposable
- Inheritance
-
objectImageTransformer
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic ImageTransformer()
Methods
Declaration
C#Copypublic void Dispose()
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Declaration
C#Copypublic Task<MediaPacket> TransformAsync(MediaPacket source, ImageTransform item)
Parameters
Type | Name | Description |
---|---|---|
MediaPacket | source | MediaPacket to transform. The Format of this |
ImageTransform | item | ImageTransform to apply. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><MediaPacket> | A task that represents the asynchronous transforming operation. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
System.ObjectDisposedException | The ImageTransformer has already been disposed of. |
System.InvalidOperationException | Failed to apply ImageTransform. |
System.NotSupportedException | Specified transformation is not supported. |
Implements
System.IDisposable