1
0
Fork 0
forked from josch/img2pdf

Update 'README.md'

Per comment https://gitlab.mister-muffin.de/josch/img2pdf/pulls/184/files#issuecomment-1334
This commit is contained in:
ooBJ3u 2024-04-05 01:01:53 +00:00
parent b23d82c45e
commit 150a23169b

View file

@ -28,14 +28,14 @@ The following table shows how img2pdf handles different input depending on the
input file format and image color space. input file format and image color space.
| Format | Colorspace | Result | | Format | Colorspace | Result |
| ------------------------------------- | ------------------------------ | ------------- | | ------------------------------------- | ------------------------------------ | ------------- |
| JPEG | any | direct | | JPEG | any | direct |
| JPEG2000 | any | direct | | JPEG2000 | any | direct |
| PNG (non-interlaced, no transparency) | any | direct | | PNG (non-interlaced, no transparency) | any | direct |
| TIFF (CCITT Group 4) | monochrome | direct | | TIFF (CCITT Group 4) | 1-bit monochrome | direct |
| JBIG2 (single-page generic coding) | bi-level | direct | | JBIG2 (single-page generic coding) | 1-bit monochrome | direct |
| any | any except CMYK and monochrome | PNG Paeth | | any | any except CMYK and 1-bit monochrome | PNG Paeth |
| any | monochrome | CCITT Group 4 | | any | 1-bit monochrome | CCITT Group 4 |
| any | CMYK | flate | | any | CMYK | flate |
For JPEG, JPEG2000, non-interlaced PNG, TIFF images with CCITT Group 4 For JPEG, JPEG2000, non-interlaced PNG, TIFF images with CCITT Group 4
@ -49,7 +49,7 @@ solutions for these input formats.
For all other input types, img2pdf first has to transform the pixel data to For all other input types, img2pdf first has to transform the pixel data to
make it compatible with PDF. In most cases, the PNG Paeth filter is applied to make it compatible with PDF. In most cases, the PNG Paeth filter is applied to
the pixel data. For monochrome input, CCITT Group 4 is used instead. Only for the pixel data. For 1-bit monochrome input, CCITT Group 4 is used instead. Only for
CMYK input no filter is applied before finally applying flate compression. CMYK input no filter is applied before finally applying flate compression.
Usage Usage