Compression Table
The table below contains possible combinations of compression, photometric setting, bits per pixel, and quality factor.
Compression |
Photometric |
BPP |
QFactor |
IMAGE_COMPRESSION_NONE |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
8 |
|
IMAGE_COMPRESSION_NONE |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
16 |
|
IMAGE_COMPRESSION_NONE |
IMAGE_PHOTOMETRIC_PALETTE_COLOR |
8 |
|
IMAGE_COMPRESSION_NONE |
IMAGE_PHOTOMETRIC_RGB |
24 |
|
IMAGE_COMPRESSION_RLE |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
8 |
|
IMAGE_COMPRESSION_RLE |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
16 |
|
IMAGE_COMPRESSION_RLE |
IMAGE_PHOTOMETRIC_PALETTE_COLOR |
8 |
|
IMAGE_COMPRESSION_RLE |
IMAGE_PHOTOMETRIC_RGB |
24 |
|
IMAGE_COMPRESSION_JPEG_LOSSLESS |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
8 |
|
IMAGE_COMPRESSION_JPEG_LOSSLESS |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
12 |
|
IMAGE_COMPRESSION_JPEG_LOSSLESS |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
16 |
|
IMAGE_COMPRESSION_JPEG_LOSSLESS |
IMAGE_PHOTOMETRIC_RGB |
24 |
|
IMAGE_COMPRESSION_JPEG_LOSSY |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
8 |
2-255 |
IMAGE_COMPRESSION_JPEG_LOSSY |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
12 |
2-255 |
IMAGE_COMPRESSION_JPEG_LOSSY |
IMAGE_PHOTOMETRIC_RGB |
24 |
2-255 |
IMAGE_COMPRESSION_J2K_LOSSLESS |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
8 |
|
IMAGE_COMPRESSION_J2K_LOSSLESS |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
12 |
|
IMAGE_COMPRESSION_J2K_LOSSLESS |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
16 |
|
IMAGE_COMPRESSION_J2K_LOSSLESS |
IMAGE_PHOTOMETRIC_RGB |
24 |
|
IMAGE_COMPRESSION_J2K_LOSSY |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
8 |
2-255 |
IMAGE_COMPRESSION_J2K_LOSSY |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
12 |
2-255 |
IMAGE_COMPRESSION_J2K_LOSSY |
IMAGE_PHOTOMETRIC_MONOCHROME2 |
16 |
2-255 |
IMAGE_COMPRESSION_J2K_LOSSY |
IMAGE_PHOTOMETRIC_RGB |
24 |
2-255 |