com.supermap.data

Class ImageFormatType



  • public class ImageFormatType
    extends Enum
    This enumeration defines the formatting type of the slice (Tile) file for the cache tile when the third-party service is added, that is, the format of the slice file corresponding to the * .sci, *. Sci3d cache.
    • Field Detail

      • PNG

        public static final ImageFormatType PNG
        PNG format. PNG, Portable Network Graphics Portable network graphics format, is the latest online image file format. PNG is capable of delivering lossless compressed image files 30% smaller than GIF. It also provides 24-bit and 48-bit true color image support and many other technical support.
      • JPG

        public static final ImageFormatType JPG
        JPG format. JPG's full name is JPEG, and the picture stores a single raster image in 24-bit color. The JPEG format is platform-independent format that supports the highest level of compression, but this compression is lossy. Progressive JPEG format files support staggered.
      • GIF

        public static final ImageFormatType GIF
        GIF format. GIF, Graphics Interchange Format Image conversion format. GIF file data is based on the LZW algorithm continuous tone lossless compression format, the compression rate is generally about 50%.
      • JPG_PNG

        public static final ImageFormatType JPG_PNG
        JPG_PNG mixed format. If the slice file is set to JPG_PNG format, the slice file is in JPG or PNG format, depending on whether the slice contains invalid data pixels. For slices containing invalid data pixels, the file format is PNG, otherwise JPG format. In the mixed format, the PNG format will be used at the data boundary, and JPG format will be used where no invalid data is included. This will greatly reduce the size of the cached data to optimize the data download time.
      • DXTZ

        public static final ImageFormatType DXTZ
        DXTZ type. This type is a compressed format for DDS format images. DDS image format is DirectDraw Surface format abbreviation, is DirectX texture compression format. Using this type of texture compression format, can significantly reduce the consumption of texture memory.
      • BMP

        public static final ImageFormatType BMP
        BMP format. BMP full name BitMap (bitmap), is the Windows operating system standard image file format, which uses bitmap storage format, in addition to the depth of the image optional, do not use any other compression. BMP files take up more space.