Class ImageTransformer
Definition
- Namespace:
- Tizen.Multimedia.Util
- Assembly:
- Tizen.Multimedia.Util.dll
Provides the ability to transform an image.
public class ImageTransformer : IDisposable
- Inheritance
-
objectImage
Transformer
- Implements
-
System.
IDisposable
Constructors
View SourceImageTransformer()
Initializes a new instance of the Image
Declaration
public ImageTransformer()
Methods
View SourceDispose()
Releases all resources used by the ImageTransformer.
Declaration
public void Dispose()
Dispose(bool)
Releases the unmanaged resources used by the ImageTransformer.
Declaration
protected 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. |
TransformAsync(MediaPacket, ImageTransform)
Transforms an image with Image
Declaration
public Task<MediaPacket> TransformAsync(MediaPacket source, ImageTransform item)
Parameters
Type | Name | Description |
---|---|---|
Media |
source | Media |
Image |
item | Image |
Returns
Type | Description |
---|---|
System. |
A task that represents the asynchronous transforming operation. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
System. |
The Image |
System. |
Failed to apply Image |
System. |
Specified transformation is not supported. |
Implements
System.IDisposable