ImageMan.Net Version 3 Summer 2012 Release
TifCompression Enumeration
See Also  Send Feedback
DTI.ImageMan.Codecs Namespace : TifCompression Enumeration

Glossary Item Box

TifCompression Method for Tiff Images


Visual Basic (Declaration) 
Public Enum TifCompression 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As TifCompression
public enum TifCompression : System.Enum 
public enum TifCompression extends System.Enum
Managed Extensions for C++ 
__value public enum TifCompression : public System.Enum 
public enum class TifCompression : public System.Enum 


AdobeDeflateAdobe Deflate method
DeflateDeflate method
OtherAnother compression method see tag for value.

CCITT Group 3 compression is the standard in fax communications.

Supported BitDepths2.


CCITT Group 4 compression is a two dimensional compression method. And is one of the best for black and white images that have around 5-10% coverage and are mainly text or line art.

Supported BitDepth 2.


JPEG encoding is an excellent choice for photographs or computer rendered images. It is lossy and therefore even though it has excellent compression some loss of information can happen, especially when two colors of sharp contrast form a sharp line, there can be some artifacts or haloing in the adjacent pixels. The JpegLossyQuality property lets you specify the compression from 1 to 99 with 99 being the highest image quality, 75 is the default.

Supported BitDepths8 bit grayscale, 24.

In order for an image to be saved in grayscale format it must have a ramped palette. A ramped palette is created when the ImageMan Palette is created using the GrayScale PaletteType:DTI::ImageMan::ImPalette::PaletteType:.

When using the ModifyBitDepth Command:DTI::ImageMan::Commands: set the Palette Option:DTI::ImageMan::Commands::ModifyBitDepthCommand: to Custom:DTI::ImageMan::Commands: and the Palette Property:DTI::ImageMan::Commands: to a new ImageMan Palette using the GrayScale PaletteType:DTI::ImageMan::ImPalette::PaletteType:.


LZW decoding provides excellent compression for images with palettes including black and white images that have higher coverage, and color images made up of either text or graphics. Our implementation of LZW also includes a predictor which yields reasonable lossless compression for 24 bit color images as well.

Supported BitDepths 2,4,8,16,24,32.


Mod CCITT compression.

Supported BitDepths2.


No compression.

Supported BitDepths2,4,8,24.


TifPackbits is a Run Length Encoding or Decoding scheme it is not optimal and can lead to larger images then ones that are not compressed at all in worst case scenarios.

Supported BitDepth 2,4,8,16,24,32.


The following compression methods are supported by setting the TifCompression property to any of the following options.

Inheritance Hierarchy



Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.