An example image is here: https://www.dropbox.com/sh/din9ih3llfi7 ... rczSa?dl=0
The initial SVG image is initial.svg and I want to achieve the same result as good.pgm.
I am using the command
Code: Select all
convert -depth 8 -compress none initial.svg output.pgm
Using the C++ library it works as expected, and I get the same as good.pgm.
I have tried using both -size, -resize or -extent with the correct dimensions but they also result in the wrong output.
Version information:
convert -version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-06-11 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib