Reputation: 446
Trying to convert some icons from svg to xbm to display them with NodeMCU on OLED display.
Using this command: mogrify -path ../src -format xbm *.svg
As You can see below output is a bit unexpected. Also it changes width and height, so from 16x16 svg it produces 15x15 xbm.
How to preserve original size and get rid of this artifacts?
Upvotes: 3
Views: 903
Reputation: 53164
Using Imagemagick 6.9.10.77 Q16 Mac OSX Sierra with SVG renderer Inkscape 0.92.4, I get:
convert Unknown.svg Unknown.xbm
Here is the result expanded for viewing and showing a size of 16x16 pixels.
I suspect that if you upgrade your version of Imagemagick so that it properly uses Inkscape, that it might work correctly to convert your SVG file.
Upvotes: 3