Partager via


EncoderParameterValueType (Compact 2013)

3/26/2014

This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.

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
    The parameter is an 8-bit unsigned int.
  • EncoderParameterValueTypeASCII
    The parameter is an 8-bit byte containing one 7-bit ASCII code and is NULL terminated.
  • EncoderParameterValueTypeShort
    The parameter is a 16-bit unsigned int.
  • EncoderParameterValueTypeLong
    The parameter is a 32-bit unsigned int.
  • EncoderParameterValueTypeRational
    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
    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
    The parameter is an 8-bit byte that can be interpreted in any way.
  • EncoderParameterValueTypeRationalRange
    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

See Also

Reference

Imaging Enumerations