Open tormodvolden opened 3 years ago
Or should this happen automatically if --foreground and --background are both set with only RRGGBB (no AA)?
Strictly it is not an alpha channel in this case but a tRNS Transparency chunk so we should maybe say "transparency" instead of "alpha channel".
This is also relevant when generating PDF/A-1 compliant documents. Preflight fails on PDF/A-1 documents embedding plainqrencode
PNG output, since transparency is only supported since PDF/A-2.
this PR is 3 years old and still open, why is it not merged? it's a very important feature!
The maintainer hasn't committed anything here since 2020 (Feb 2021 on the cygwin branch).
Anyway, I would be happy to modify this PR to use "transparency" instead of "alpha channel" if preferred.
the most important is your option is working well. I'm now following your fork. here it's dead....
Some tools like img2pdf refuse PNG images with alpha channel. The suggested option --png-no-alpha will omit the alpha channel so that the PNG output can be used with img2pdf directly.