com.aspose.diagram

Class CompressionType

  • java.lang.Object
    • com.aspose.diagram.CompressionType
public class CompressionType 
extends java.lang.Object

Utility class containing constants. This attribute is only meaningful if the foreign data is a raster-based foreign object, such as a DIB, JPG, PNG, TIFF, or GIF file. The value indicates the type of compression applied to the file.

Field Summary
staticfinal intNO
No compression (the default).
staticfinal intJPEG
JPEG compression.
staticfinal intGIF
GIF compression.
staticfinal intTIFF
TIFF compression.
staticfinal intPNG
PNG compression.
staticfinal intUNDEFINED
Undefined.
 

    • Field Detail

      • NO

        public static final int NO
        No compression (the default).
      • JPEG

        public static final int JPEG
        JPEG compression.
      • GIF

        public static final int GIF
        GIF compression.
      • TIFF

        public static final int TIFF
        TIFF compression.
      • PNG

        public static final int PNG
        PNG compression.
      • UNDEFINED

        public static final int UNDEFINED
        Undefined.