Update documentation: img2pdf now supports alpha channels

This commit is contained in:
mara0004 2021-09-19 08:50:50 +00:00
parent f483638b17
commit 58dea16803

View file

@ -3327,9 +3327,9 @@ Losslessly convert raster images to PDF without re-encoding PNG, JPEG, and
JPEG2000 images. This leads to a lossless conversion of PNG, JPEG and JPEG2000 JPEG2000 images. This leads to a lossless conversion of PNG, JPEG and JPEG2000
images with the only added file size coming from the PDF container itself. images with the only added file size coming from the PDF container itself.
Other raster graphics formats are losslessly stored using the same encoding Other raster graphics formats are losslessly stored using the same encoding
that PNG uses. Since PDF does not support images with transparency and since that PNG uses.
img2pdf aims to never be lossy, input images with an alpha channel are not For images with transparency, the alpha channel will be stored as a separate
supported. soft mask. This is lossless, too.
The output is sent to standard output so that it can be redirected into a file The output is sent to standard output so that it can be redirected into a file
or to another program as part of a shell pipe. To directly write the output or to another program as part of a shell pipe. To directly write the output