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
| Value | Description |
|---|---|
Raw | Raw (uncompressed) data. |
RLE | RLE (Run-Length Encoded) compression. |
ZipWithoutPrediction | ZIP (lossless) compression. |
ZipWithPrediction | ZIP compression with prediction. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
value | short | Read | Gets the value. |
Methods
| Signature | Description |
|---|---|
getValue() → short | Returns the value. |
fromValue(value: short) → CompressionMethod | Calls the static method fromValue(value) of CompressionMethod. |