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.97.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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(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
Returns a string that represents the current object.
(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