1
0
Fork 0
forked from josch/img2pdf

README.md: clarify PDF transparency (closes: #76)

This commit is contained in:
Johannes 'josch' Schauer 2020-05-06 08:55:46 +02:00
parent 60fa588cfb
commit 17dd59e722
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -77,10 +77,10 @@ Bugs
files with other colorspaces, you must explicitly specify it using the
`--colorspace` option.
- Input images with alpha channels are not allowed. PDF doesn't support alpha
channels in images and thus, the alpha channel of the input would have to be
discarded. But img2pdf will always be lossless and thus, input images must
not carry transparency information.
- 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.
- img2pdf uses PIL (or Pillow) to obtain image meta data and to convert the
input if necessary. To prevent decompression bomb denial of service attacks,