multires

command module
v0.0.0-...-e14c03d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: GPL-3.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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
images/100/example.png
images/100/exampleToo.png
images/125/example.png
images/125/exampleToo.png
...

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址