Converting PDF to PNG with antialias off

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
Posts: 3
Joined: 2018-04-10T01:21:38-07:00
Authentication code: 1152

Converting PDF to PNG with antialias off

Post 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.
Post Reply