ImageGear PDF v24.14 - Updated
Format Bit Depths
User Guide > File Formats and Compressions > File Formats > Format Bit Depths

You may want to convert a file from one format to another. You can do this by saving the original file to its desired format by setting the nFormatType parameter to the appropriate value in the saving method. For more information on converting issues, see the section Loading and Saving.

When saving a file to another format, remember to ensure that the desired file format is supported for that image. For example, you cannot convert an 8-bit DCX file to an 8-bit CAL file, because the CAL format does not support 8-bit files.

In the following table, the columns underneath the numbers indicated size in bits that can actually be saved (written). In each cell, a value of "R" indicates read-only support, and a value of "RW" indicates that ImageGear reads and writes the corresponding file format.

Format 1 4 8 9-16 24 32 36 48 64 Notes
BMP RW RW RW RW RW R        
CLP RW RW RW   RW          
CUR RW RW RW     RW       Also supports Extra ((1, 3, 4, 8)*2)-bit images.
GIF RW RW RW              
ICO RW RW RW     RW        
JPEG     RW RW RW RW RW RW   8-bit grayscale.
PDF RW RW RW   RW RW        
PNG RW RW RW RW RW RW   RW RW Supports 48(RGB)- and 64(RGB+alpha)-bit images.
PS RW RW RW   RW RW        
SVG                   Read-write support. Specific bit-depths are not considered.
TIFF RW RW RW RW RW RW RW RW RW Read only supports 3- and 6- bpp for RGB and LAB color spaces for Deflate Compression, LZW (Lempel-Ziv-Welch) Compression, Packbits Compression and uncompressed.