|
|
|
|
|
by mrb
1609 days ago
|
|
Weird. I could swear "-flatten" didn't behave like this years ago when I last used my script. But maybe I am misremember... 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 |
|
> convert: UnrecognizedAlphaChannelOption `flatten' @ error/convert.c/ConvertImageCommand/673.