com.aspose.cad.jasperreports.psd

Enum CompressionMethodEnum

    • Enum Constant Detail

      • Raw

        public static final CompressionMethodEnum 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.

      • RLE

        public static final CompressionMethodEnum 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.

      • ZipWithoutPrediction

        public static final CompressionMethodEnum ZipWithoutPrediction

        ZIP without prediction.

    • Method Detail

      • values

        public static CompressionMethodEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CompressionMethodEnum c : CompressionMethodEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CompressionMethodEnum valueOf(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getType

        public int getType()
        Gets the value that represents the type of the enum.
        Returns:
        the type