Packages

 

com.aspose.cad.fileformats.psd

Class CompressionMethod

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.cad.fileformats.psd.CompressionMethod


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

    Defines the compression method used for image data.

    • 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 short Raw
      No compression.
      static short RLE
      RLE compressed the image data starts with the byte counts for all the scan lines (rows * channels), with each count stored as a two-byte value.
      static short ZipWithoutPrediction
      ZIP without prediction.
      static short ZipWithPrediction
      ZIP with prediction.
      • 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, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
    • Field Detail

      • Raw

        public static final short Raw

        No compression. The image data stored as raw bytes in RGBA planar order. That means that first all R data is written, then all G is written, then all B and finally all A data is written.

        See Also:
        Constant Field Values
      • RLE

        public static final short RLE

        RLE compressed the image data starts with the byte counts for all the scan lines (rows * channels), with each count stored as a two-byte value. The RLE compressed data follows, with each scan line compressed separately. The RLE compression is the same compression algorithm used by the Macintosh ROM routine PackBits and the TIFF standard.

        See Also:
        Constant Field Values
      • ZipWithoutPrediction

        public static final short ZipWithoutPrediction

        ZIP without prediction.

        See Also:
        Constant Field Values
      • ZipWithPrediction

        public static final short ZipWithPrediction

        ZIP with prediction.

        See Also:
        Constant Field Values