diff --git a/readme.md b/readme.md index 3307924..1bbc5c9 100644 --- a/readme.md +++ b/readme.md @@ -49,20 +49,31 @@ java -jar svg2png ## CLI Usage ================================================================================ - SVG to PNG - + SVG to PNG + usage: svg2png - --android Android default config from mdpi 48x48 -> xxxhdpi - 192x192. - --android-small Android Small default config from mdpi 24x24 -> - xxxhdpi 96x96. - -c JSON Config file for the file output. - -d Source directory with one or more files to convert. - -f Source file to convert. - -h Height of the output file. - -n New name to use for all output files. - -o Output directory where to put the file. - -w Width of the output file. + --android Android Icon 48dp mdpi 48x48 -> xxxhdpi 192x192. + --android-24dp Android 24dp icons, with suffix _24dp -- mdpi 24x24 + -> xxxhdpi 96x96. + --android-36dp Android 36dp icons, with suffix _36dp -- mdpi 36x36 + -> xxxhdpi 144x144. + --android-48dp Android 48dp icons, with suffix _48dp -- mdpi 48x48 + -> xxxhdpi 192x192. + --android-icon Android Icon (Action Bar, Dialog etc.) config mdpi + 36x36 -> xxxhdpi 128x128. + --android-launch Android Launcher Icon config mdpi 48x48 -> xxxhdpi + 192x192. + --android-small Android Small default config from mdpi 24x24 -> + xxxhdpi 96x96. + -c JSON Config file for the file output. + -d Source directory with one or more files to convert. + -f Source file to convert. + -h Height of the output file. + -n New name to use for all output files. + -o Output directory where to put the file. + --unsecure Allow external resources in SVG. + -w Width of the output file. + ## JSON Android Config Sample