Packages

 

com.aspose.imaging.fileformats.wmf.consts

Class WmfCompression

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.imaging.fileformats.wmf.consts.WmfCompression


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

    The Compression Enumeration specifies the type of compression for a bitmap image

    • 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 BI_BITFIELDS
      The bitmap is not compressed and the color table consists of three DWORD color masks that specify the red, green, and blue components, respectively, of each pixel.
      static int BI_CMYK
      The image is an uncompressed CMYK format.
      static int BI_CMYKRLE4
      A CMYK format that uses RLE compression for bitmaps with 4 bits per pixel.
      static int BI_CMYKRLE8
      A CMYK format that uses RLE compression for bitmaps with 8 bits per pixel.
      static int BI_JPEG
      The image is a JPEG image, as specified in [JFIF].
      static int BI_PNG
      The image is a PNG image, as specified in [RFC2083].
      static int BI_RGB
      The bitmap is in uncompressed red green blue (RGB) format that is not compressed and does not use color masks.
      static int BI_RLE4
      An RGB format that uses RLE compression for bitmaps with 4 bits per pixel.
      static int BI_RLE8
      An RGB format that uses run-length encoding (RLE) compression for bitmaps with 8 bits per pixel.
      • 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

      • BI_RGB

        public static final int BI_RGB

        The bitmap is in uncompressed red green blue (RGB) format that is not compressed and does not use color masks.

        See Also:
        Constant Field Values
      • BI_RLE8

        public static final int BI_RLE8

        An RGB format that uses run-length encoding (RLE) compression for bitmaps with 8 bits per pixel. The compression uses a 2-byte format consisting of a count byte followed by a byte containing a color index.

        See Also:
        Constant Field Values
      • BI_RLE4

        public static final int BI_RLE4

        An RGB format that uses RLE compression for bitmaps with 4 bits per pixel. The compression uses a 2-byte format consisting of a count byte followed by two word-length color indexes

        See Also:
        Constant Field Values
      • BI_BITFIELDS

        public static final int BI_BITFIELDS

        The bitmap is not compressed and the color table consists of three DWORD color masks that specify the red, green, and blue components, respectively, of each pixel. This is valid when used with 16 and 32-bits per pixel bitmaps.

        See Also:
        Constant Field Values
      • BI_JPEG

        public static final int BI_JPEG

        The image is a JPEG image, as specified in [JFIF]. This value SHOULD only be used in certain bitmap operations, such as JPEG pass-through. The application MUST query for the pass-through support, since not all devices support JPEG pass-through. Using non-RGB bitmaps MAY limit the portability of the metafile to other devices. For instance, display device contexts generally do not support this pass-through

        See Also:
        Constant Field Values
      • BI_PNG

        public static final int BI_PNG

        The image is a PNG image, as specified in [RFC2083]. This value SHOULD only be used certain bitmap operations, such as JPEG/PNG pass-through. The application MUST query for the pass-through support, because not all devices support JPEG/PNG pass-through. Using non-RGB bitmaps MAY limit the portability of the metafile to other devices. For instance, display device contexts generally do not support this pass-through.

        See Also:
        Constant Field Values
      • BI_CMYK

        public static final int BI_CMYK

        The image is an uncompressed CMYK format.

        See Also:
        Constant Field Values
      • BI_CMYKRLE8

        public static final int BI_CMYKRLE8

        A CMYK format that uses RLE compression for bitmaps with 8 bits per pixel. The compression uses a 2-byte format consisting of a count byte followed by a byte containing a color index.

        See Also:
        Constant Field Values
      • BI_CMYKRLE4

        public static final int BI_CMYKRLE4

        A CMYK format that uses RLE compression for bitmaps with 4 bits per pixel. The compression uses a 2-byte format consisting of a count byte followed by two word-length color indexes.

        See Also:
        Constant Field Values