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