|
|
|
|
|
by ca7
1608 days ago
|
|
Thanks for this! "-flatten" results in all PDF pages being rendered into a 1 page PDF output. If "-flatten" is removed, I get a multi-page PDF output as expected. Thoughts? EDIT: "-flatten" does what it is supposed to. Delete if operating on multipage PDF. |
|
Edit: haha! The "-flatten" needs to be replaced with "-alpha flatten". This way, multi-page documents are still handled correctly, and alpha transparency is also handled correctly. I just tried on this sample file with transparent images: https://tcpdf.org/files/examples/example_042.pdf