Share via


ImageFlags (Windows Embedded CE 6.0)

1/6/2010

This enumeration provides values that identify properties of images.

Syntax

enum ImageFlags {
  ImageFlagsNone              = 0,
  ImageFlagsScalable          = 0x0001,
  ImageFlagsHasAlpha          = 0x0002,
  ImageFlagsHasTranslucent    = 0x0004,
  ImageFlagsPartiallyScalable = 0x0008,
  ImageFlagsColorSpaceRGB     = 0x0010,
  ImageFlagsColorSpaceCMYK    = 0x0020,
  ImageFlagsColorSpaceGRAY    = 0x0040,
  ImageFlagsColorSpaceYCBCR   = 0x0080,
  ImageFlagsColorSpaceYCCK    = 0x0100,
  ImageFlagsHasRealDPI        = 0x1000,
  ImageFlagsHasRealPixelSize  = 0x2000,
  ImageFlagsReadOnly          = 0x00010000,
  ImageFlagsCaching           = 0x00020000,
  ImageFlagsValid             = 0x00030000
};

Elements

  • ImageFlagsNone
    Indicates that no other ImageFlag values are set.
  • ImageFlagsScalable
    Indicates that the source image is fully scaleable.

    This value is identical to the SinkFlags enumeration value SinkFlagsScalable.

  • ImageFlagsHasAlpha
    Indicates that the source image contains transparency.

    This value is identical to the SinkFlags enumeration value SinkFlagsHasAlpha.

  • ImageFlagsHasTranslucent
    Indicates that the source image contains transparency.
  • ImageFlagsPartiallyScalable
    Indicates that the source image is partially scaleable.

    This value is identical to the SinkFlags enumeration value SinkFlagsPartiallyScalable.

  • ImageFlagsColorSpaceRGB
    Indicates that the image uses the RGB color space.
  • ImageFlagsColorSpaceCMYK
    Indicates that the image uses the CMYK color space.
  • ImageFlagsColorSpaceGRAY
    Indicates that the image uses the grayscale color space.
  • ImageFlagsColorSpaceYCBCR
    Indicates that the image uses the YCBCR color space.
  • ImageFlagsColorSpaceYCCK
    Indicates that the image uses the YCCK color space.
  • ImageFlagsHasRealDPI
    Indicates that size of the image is expressed in dots per inch.
  • ImageFlagsHasRealPixelSize
    Indicates that size of the image is expressed in pixels.
  • ImageFlagsReadOnly
    Indicates that the image data is read-only.
  • ImageFlagsCaching
    Indicates that the image can be cached.
  • ImageFlagsValid
    Indicates the highest value in the ImageFlags enumeration. You can use it to perform validity checks on other potential ImageFlags values in your application.

Requirements

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

See Also

Reference

Imaging Enumerations