News for hackers. Stuff that matters.
Re:FalsiScan: Make it look like a PDF has been hand signed a... by mrb on Friday January 21, 2022 @03:51PM (#30029830)
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

Re:FalsiScan: Make it look like a PDF has been hand signed a... by ca7 on Saturday January 22, 2022 @01:33PM (#30039451)
Changing "-flatten" to "-alpha flatten" (without the double quotes) results in an error for me.

> convert: UnrecognizedAlphaChannelOption `flatten' @ error/convert.c/ConvertImageCommand/673.

Re:FalsiScan: Make it look like a PDF has been hand signed a... by mrb on Saturday January 22, 2022 @10:54PM (#30043475)
Probably due to an older ImageMagick version. Try "-alpha remove" which should be more or less equivalent (I think)