Packages

 

com.aspose.imaging.fileformats.emf.emfplus.consts

Class EmfPlusPixelFormat

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.imaging.fileformats.emf.emfplus.consts.EmfPlusPixelFormat


  • public final class EmfPlusPixelFormat
    extends com.aspose.ms.System.Enum

    The PixelFormat enumeration defines pixel formats that are supported in EMF+ bitmaps.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int PixelFormat16bppARGB1555
      The format is 16 bits per pixel; 1 bit is used for the alpha component, and 5 bits each are used for the red, green, and blue components.
      static int PixelFormat16bppGrayScale
      The format is 16 bits per pixel, grayscale.
      static int PixelFormat16bppRGB555
      The format is 16 bits per pixel; 5 bits each are used for the red, green, and blue components.
      static int PixelFormat16bppRGB565
      The format is 16 bits per pixel; 5 bits are used for the red component, 6 bits for the green component, and 5 bits for the blue component.
      static int PixelFormat1bppIndexed
      The format is monochrome, and a color palette lookup table is used.
      static int PixelFormat24bppRGB
      The format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components.
      static int PixelFormat32bppARGB
      The format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.
      static int PixelFormat32bppPARGB
      The format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.
      static int PixelFormat32bppRGB
      The format is 32 bits per pixel; 8 bits each are used for the red, green, and blue components.
      static int PixelFormat48bppRGB
      The format is 48 bits per pixel; 16 bits each are used for the red, green, and blue components.
      static int PixelFormat4bppIndexed
      The format is 16-color, and a color palette lookup table is used.
      static int PixelFormat64bppARGB
      The format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components.
      static int PixelFormat64bppPARGB
      The format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components.
      static int PixelFormat8bppIndexed
      The format is 256-color, and a color palette lookup table is used.
      static int PixelFormatUndefined
      The format is not specified.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
    • Field Detail

      • PixelFormatUndefined

        public static final int PixelFormatUndefined

        The format is not specified.

        Pixel formats are specified by Objects.EmfPlusBitmap objects. They are encoded as follows: - Bits 0-7: Enumeration of the pixel format constants, starting at zero. - Bits 8-15: The total number of bits per pixel. - Bit 16: If set, the color value is indexed into a palette. - Bit 17: If set, the color value is in a GDI-supported format. - Bit 18: If set, the color value has an alpha component. - Bit 19: If set, the color value has a premultiplied alpha component. - Bit 20: If set, extended colors, 16-bits per channel, are supported. - Bits 21-31: Reserved.

        See Also:
        Constant Field Values
      • PixelFormat1bppIndexed

        public static final int PixelFormat1bppIndexed

        The format is monochrome, and a color palette lookup table is used.

        See Also:
        Constant Field Values
      • PixelFormat4bppIndexed

        public static final int PixelFormat4bppIndexed

        The format is 16-color, and a color palette lookup table is used.

        See Also:
        Constant Field Values
      • PixelFormat8bppIndexed

        public static final int PixelFormat8bppIndexed

        The format is 256-color, and a color palette lookup table is used.

        See Also:
        Constant Field Values
      • PixelFormat16bppGrayScale

        public static final int PixelFormat16bppGrayScale

        The format is 16 bits per pixel, grayscale.

        See Also:
        Constant Field Values
      • PixelFormat16bppRGB555

        public static final int PixelFormat16bppRGB555

        The format is 16 bits per pixel; 5 bits each are used for the red, green, and blue components. The remaining bit is not used.

        See Also:
        Constant Field Values
      • PixelFormat16bppRGB565

        public static final int PixelFormat16bppRGB565

        The format is 16 bits per pixel; 5 bits are used for the red component, 6 bits for the green component, and 5 bits for the blue component.

        See Also:
        Constant Field Values
      • PixelFormat16bppARGB1555

        public static final int PixelFormat16bppARGB1555

        The format is 16 bits per pixel; 1 bit is used for the alpha component, and 5 bits each are used for the red, green, and blue components.

        See Also:
        Constant Field Values
      • PixelFormat24bppRGB

        public static final int PixelFormat24bppRGB

        The format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components.

        See Also:
        Constant Field Values
      • PixelFormat32bppRGB

        public static final int PixelFormat32bppRGB

        The format is 32 bits per pixel; 8 bits each are used for the red, green, and blue components. The remaining 8 bits are not used.

        See Also:
        Constant Field Values
      • PixelFormat32bppARGB

        public static final int PixelFormat32bppARGB

        The format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.

        See Also:
        Constant Field Values
      • PixelFormat32bppPARGB

        public static final int PixelFormat32bppPARGB

        The format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied according to the alpha component.

        See Also:
        Constant Field Values
      • PixelFormat48bppRGB

        public static final int PixelFormat48bppRGB

        The format is 48 bits per pixel; 16 bits each are used for the red, green, and blue components.

        See Also:
        Constant Field Values
      • PixelFormat64bppARGB

        public static final int PixelFormat64bppARGB

        The format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components.

        See Also:
        Constant Field Values
      • PixelFormat64bppPARGB

        public static final int PixelFormat64bppPARGB

        The format is 64 bits per pixel; 16 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied according to the alpha component.

        See Also:
        Constant Field Values