Class ImageTransformer
Definition
- Namespace:
- Tizen.Multimedia.Util
- Assembly:
- Tizen.Multimedia.Util.dll
- API Level:
- 4
Provides the ability to transform an image.
public class ImageTransformer : IDisposable
- Inheritance
-
ImageTransformer
- Implements
Constructors
View SourceImageTransformer()
Initializes a new instance of the ImageTransformer class.
Declaration
public ImageTransformer()
API Level: 4
Methods
View SourceDispose()
Releases all resources used by the ImageTransformer.
Declaration
public void Dispose()
API Level: 4
View SourceDispose(Boolean)
Releases the unmanaged resources used by the ImageTransformer.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
API Level: 4
View SourceTransformAsync(MediaPacket, ImageTransform)
Transforms an image with ImageTransform.
Declaration
public 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 |
---|---|
Task<MediaPacket> | A task that represents the asynchronous transforming operation. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ArgumentException |
|
ObjectDisposedException | The ImageTransformer has already been disposed of. |
InvalidOperationException | Failed to apply ImageTransform. |
NotSupportedException | Specified transformation is not supported. |