Share via


ImageFlags (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 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
    No other ImageFlag values are set.
  • ImageFlagsScalable
    The source image is fully scaleable.

    This value is identical to the SinkFlags enumeration value SinkFlagsScalable.

  • ImageFlagsHasAlpha
    The source image contains transparency.

    This value is identical to the SinkFlags enumeration value SinkFlagsHasAlpha.

  • ImageFlagsHasTranslucent
    The source image contains transparency.
  • ImageFlagsPartiallyScalable
    The source image is partially scaleable.

    This value is identical to the SinkFlags enumeration value SinkFlagsPartiallyScalable.

  • ImageFlagsColorSpaceRGB
    The image uses the RGB color space.
  • ImageFlagsColorSpaceCMYK
    The image uses the CMYK color space.
  • ImageFlagsColorSpaceGRAY
    The image uses the grayscale color space.
  • ImageFlagsColorSpaceYCBCR
    The image uses the YCBCR color space.
  • ImageFlagsColorSpaceYCCK
    The image uses the YCCK color space.
  • ImageFlagsHasRealDPI
    The size of the image is expressed in dots per inch.
  • ImageFlagsHasRealPixelSize
    The size of the image is expressed in pixels.
  • ImageFlagsReadOnly
    The image data is read-only.
  • ImageFlagsCaching
    The image can be cached.
  • ImageFlagsValid
    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

See Also

Reference

Imaging Enumerations