Click or drag to resize

ImageCompressor Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Utility class to save file space by compressing images.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.ImageUtilsImageCompressor

Namespace:  Telogis.GeoBase.ImageUtils
Assembly:  geobase.net (in geobase.net.dll) Version: 4.83.0.0
Syntax
public class ImageCompressor

The ImageCompressor type exposes the following members.

Constructors
  NameDescription
Public methodImageCompressor
Initializes a new instance of the ImageCompressor class
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberQuantizeTo8bpp(Image)
Reduce file size by converting a 32bpp palletized map to an 8bpp indexed map.
Public methodStatic memberQuantizeTo8bpp(Image, Color)
Reduce file size by converting a 32bpp palletized map to an 8bpp indexed map.
Public methodToString (Inherited from Object.)
Top
Remarks
The ImageCompressor can be used to reduce the file size of images by reducing their color count to 8 bits-per-pixel (256 colors). The most used colors are kept and other colors are mapped to the nearest kept color.
See Also