forked from josch/img2pdf
Readme: remove alpha channels section
This commit is contained in:
parent
cde7472d15
commit
1ffb160453
1 changed files with 0 additions and 8 deletions
|
@ -77,14 +77,6 @@ Bugs
|
||||||
files with other colorspaces, you must explicitly specify it using the
|
files with other colorspaces, you must explicitly specify it using the
|
||||||
`--colorspace` option.
|
`--colorspace` option.
|
||||||
|
|
||||||
- Input images with alpha channels are not allowed. PDF only supports
|
|
||||||
transparency using binary masks but is unable to store 8-bit transparency
|
|
||||||
information as part of the image itself. But img2pdf will always be lossless
|
|
||||||
and thus, input images must not carry transparency information. You can
|
|
||||||
remove the alpha channel for example with imagemagick:
|
|
||||||
|
|
||||||
convert input.png -background white -alpha remove -alpha off output.png
|
|
||||||
|
|
||||||
- An error is produced if the input image is broken. This commonly happens if
|
- An error is produced if the input image is broken. This commonly happens if
|
||||||
the input image has an invalid EXIF Orientation value of zero. Even though
|
the input image has an invalid EXIF Orientation value of zero. Even though
|
||||||
only nine different values from 1 to 9 are permitted, Anroid phones and
|
only nine different values from 1 to 9 are permitted, Anroid phones and
|
||||||
|
|
Loading…
Reference in a new issue