TImageConvOperation Class Reference

#include <icl/imageconversionextension.h>

class TImageConvOperation

Detailed Description

Image Conversion Library extensions. When applied together there is an implicit order for operations: 1. Crop or clip. 2. Scale 3. Rotate / mirror over axis. Operation extension for Image Conversion Library. Allows rotation and mirror over axis.

Member Enumeration Documentation

Enum TOperation

Operations or transforms on an image.

EnumeratorValueDescription
ERotation90DegreesClockwise0x01

Rotate source 90 degrees clockwise.

ERotation180DegreesClockwise0x02

Rotate source 180 degrees clockwise.

ERotation270DegreesClockwise0x04

Rotate source 270 degrees clockwise.

EMirrorHorizontalAxis0x08

Mirror source about the horizontal axis.

EMirrorVerticalAxis0x10

Mirror source about the vertical axis.

Member Function Documentation

AddOperationL ( TOperation )

IMPORT_C voidAddOperationL(TOperationaOperation)

Set up an operation be applied to the source. May be called more than once to set up a stack of operations, but it is not possible to add more than one operation in a single call. The operations are applied to the image in the same order as they are added.

Parameters
aOperationThe operation to add to the current stack of operations.
Leave Codes
ifmore than one TOperation enum is passed for each individual call

Capabilities ( )

IMPORT_C TUintCapabilities()const

Get the codec plugin's capabilities.

Return Value
Bitmask combination of TOperation. Bit is set if decoder plugin supports the operation.

ClearOperationStack ( )

IMPORT_C voidClearOperationStack()

Remove all operations previously set.