Share via


EncoderParameterValueType (Windows Embedded CE 6.0)

1/6/2010

This enumeration provides values that are used with elements from the EncoderValue enumeration to describe the properties of an image encoder in an EncoderParameter object.

Syntax

enum EncoderParameterValueType {
  EncoderParameterValueTypeByte          = 1,
  EncoderParameterValueTypeASCII         = 2,
  EncoderParameterValueTypeShort         = 3,
  EncoderParameterValueTypeLong          = 4,
  EncoderParameterValueTypeRational      = 5,
  EncoderParameterValueTypeLongRange     = 6,
  EncoderParameterValueTypeUndefined     = 7,
  EncoderParameterValueTypeRationalRange = 8
};

Elements

  • EncoderParameterValueTypeByte
    Indicates that the parameter is an 8-bit unsigned int.
  • EncoderParameterValueTypeASCII
    Indicates that the parameter is an 8-bit byte containing one 7-bit ASCII code and is NULL terminated.
  • EncoderParameterValueTypeShort
    Indicates that the parameter is a 16-bit unsigned int.
  • EncoderParameterValueTypeLong
    Indicates that the parameter is a 32-bit unsigned int.
  • EncoderParameterValueTypeRational
    Indicates that the parameter is two long values that should be interpreted as a fraction.

    The first long value is the numerator; the second long value is the denominator.

  • EncoderParameterValueTypeLongRange
    Indicates that the parameter is two long values that define a range of integer values.

    The first long value specifies the low end of the range; the second long value specifies the high end of the range. The range includes both end values.

  • EncoderParameterValueTypeUndefined
    Indicates that the parameter is an 8-bit byte that can be interpreted in any way.
  • EncoderParameterValueTypeRationalRange
    Indicates that the parameter is two rational numbers, defined by EncoderParameterValueTypeRational, that define a range of rational numbers.

    The first rational value specifies the low end of the range; the second value specifies the high end of the range. The range includes both end values.

Requirements

Header imaging.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Imaging Enumerations