Converting PDF to PNG with antialias off
Posted: 2018-04-22T23:06:02-07:00
I've tried to convert my PDF files to PNG with antialiasing off in Magick++ but I wasn't successful. I can do it with the convert command but I would like to do it with Magick++. How can I do this command in Magick++?
Is it also possible to convert SVG to PNG with antialias off? (with Magick++ or convert)
Thanks in advance.
Code: Select all
convert +antialias -interpolate Nearest -filter point -resize 1000x1000 "img.pdf" PNG24:"filter.png"
Thanks in advance.