Skip to content
New issue

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

SVG to PNG conversion with transparency #83

Open
stackpr opened this issue Dec 8, 2016 · 0 comments
Open

SVG to PNG conversion with transparency #83

stackpr opened this issue Dec 8, 2016 · 0 comments

Comments

@stackpr
Copy link
Collaborator

stackpr commented Dec 8, 2016

http://superuser.com/questions/516095/bake-an-svg-image-into-a-png-at-a-given-resolution

basic:
rsvg -w 2160 -h 1440 icon-recert.svg icon-recert.png

$ rsvg
Usage: rsvg [OPTIONS...] file.svg file.png
  -d, --dpi-x=<float>          pixels per inch
  -p, --dpi-y=<float>          pixels per inch
  -x, --x-zoom=<float>         x zoom factor
  -y, --y-zoom=<float>         y zoom factor
  -w, --width=<int>            width
  -h, --height=<int>           height
  -q, --quality=<int>          JPEG quality
  -f, --format=[png, jpeg]     save format
  -v, --version                show version information
@stackpr stackpr added this to the New Convert Engines milestone Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant