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
milad
Posts: 2
Joined: 2018-04-10T01:21:38-07:00
Authentication code: 1152

Converting PDF to PNG with antialias off

Post by milad » 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++?

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