com.aspose.cad.jasperreports.png

Enum PngFilterType

    • Enum Constant Detail

      • None

        public static final PngFilterType None

        The null-filter, means no filtering for image data rows.

      • Sub

        public static final PngFilterType Sub

        The sub filter, means substractive filtering will be applied to image data.

      • Up

        public static final PngFilterType Up

        The up filter, means row-by-row substraction filter will be applied.

      • Avg

        public static final PngFilterType Avg

        The avg filter, means, that average filter will be applied to image data.

      • Paeth

        public static final PngFilterType Paeth

        The paeth predictor filter.

      • Adaptive

        public static final PngFilterType Adaptive

        Adaptive filtering, means that saving process will choose most sutable filter for each data row. Best compression, slowest execution time.

    • Method Detail

      • values

        public static PngFilterType[] 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 (PngFilterType c : PngFilterType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PngFilterType 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