com.aspose.imaging.fileformats.psd
Class CompressionMethod

java.lang.Object
  extended by java.lang.Enum
      extended by com.aspose.imaging.fileformats.psd.CompressionMethod
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class CompressionMethod
extends java.lang.Enum

Defines the compression method used for image data.

See Also:
Serialized Form

Field Summary
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.
 
Method Summary
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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