CompressionMethod

Overview

CompressionMethod is an enum in Aspose.PSD FOSS for Java.

Defines the compression methods used for image data in PSD files.

This enum declares 2 methods for CompressionMethod objects in Java programs. Available methods include: fromValue, getValue. Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package. Properties: value.

Values

ValueDescription
RawRaw (uncompressed) data.
RLERLE (Run-Length Encoded) compression.
ZipWithoutPredictionZIP (lossless) compression.
ZipWithPredictionZIP compression with prediction.

Properties

NameTypeAccessDescription
valueshortReadGets the value.

Methods

SignatureDescription
getValue() → shortReturns the value.
fromValue(value: short) → CompressionMethodCalls the static method fromValue(value) of CompressionMethod.

See Also