Skip to content

Create PNG pictures in various resolutions from SVG files.

License

Notifications You must be signed in to change notification settings

RetGal/multires

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multires

Creates PNG images in different resolutions from a given directory containing one or more SVG file/s.

Useful if, for example, you need to generate resources for Javas multi resolution images (icons for HiDPI support).

Example usage: ./multires images/ or go run multires.go images/

Will create a subdirectory for each resolution, each containing the images in the corresponding resolution:

images/example.svg
images/exampleToo.svg
imgaes/100/example.png
imgaes/100/exampleToo.png
images/125/example.png
images/125/exampleToo.png
...

The desired scales and dimensions have to be adjusted @line 25

About

Create PNG pictures in various resolutions from SVG files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages