Page 1 of 1

Converting PDF to PNG with antialias off

Posted: 2018-04-22T23:06:02-07:00
by milad
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++?

Code: Select all

convert +antialias -interpolate Nearest -filter point -resize 1000x1000 "img.pdf" PNG24:"filter.png"
Is it also possible to convert SVG to PNG with antialias off? (with Magick++ or convert)


Thanks in advance.