We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Density doesn't work for me for converting from svg to png.
code
var IM = require('imagemagick-native'), fs = require('fs'); fs.writeFileSync('help.png', IM.convert({ srcData: fs.readFileSync('help.svg'), srcFormat: 'SVG', format: 'PNG', width: 2000, height: 2000, density: 1000, }));
original svg file http://take.ms/Sxra2 (github doesn't support svg in comments yet).
and result
while converting by imagemagick convert -resize 2000x2000 -density 1000 help.svg help2.png produces:
convert -resize 2000x2000 -density 1000 help.svg help2.png
The text was updated successfully, but these errors were encountered:
I am able to reproduce the issue as well. Any update or plans to address it?
Sorry, something went wrong.
Yeah, density does not seem to get passed along. Same with colorspace.
density
colorspace
No branches or pull requests
Density doesn't work for me for converting from svg to png.
code
original svg file http://take.ms/Sxra2 (github doesn't support svg in comments yet).
and result
while converting by imagemagick
convert -resize 2000x2000 -density 1000 help.svg help2.png
produces:
The text was updated successfully, but these errors were encountered: