Defines an enumeration that specifies data types for image codec (encoder/decoder) parameters.
Namespace: RSGdiPlusGraphicsTypes
Delphi

type
TRSGPEncoderParameterType = (
eptNone,
eptByte,
eptASCII,
eptShort,
eptLong,
eptRational,
eptLongRange,
eptUndefined,
eptRationalRange
);


Name

Description


eptASCII

Specifies that the parameter is a nullterminated character string.


eptByte

Specifies that the parameter is an 8bit unsigned integer.


eptLong

Specifies that the parameter is a 32bit unsigned integer.


eptLongRange

Specifies that the parameter is an array of two, 32bit unsigned integers. The pair of integers represents a range of numbers. The first integer is the smallest number in the range, and the second integer is the largest number in the range.


eptNone

Represents constant eptNone.


eptRational

Specifies that the parameter is an array of two, 32bit unsigned integers. The pair of integers represents a fraction. The first integer in the pair is the numerator, and the second integer in the pair is the denominator.


eptRationalRange

Specifies that the parameter is an array of four, 32bit unsigned integers. The first two integers represent one fraction, and the second two integers represent a second fraction. The two fractions represent a range of rational numbers. The first fraction is the smallest rational number in the range, and the second fraction is the largest rational number in the range.


eptShort

Specifies that the parameter is a 16bit unsigned integer.


eptUndefined

Specifies that the parameter is an array of bytes that can hold values of any type.

Top
