Created
February 27, 2014 23:51
-
-
Save ademar111190/9262281 to your computer and use it in GitHub Desktop.
this is a more easy way of use the drawable_convert.py (https://gist.github.com/ademar111190/9261668) exaple of use: drc.sh image.png
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# this is a more easy way of use the drawable_convert.py | |
# https://gist.github.com/ademar111190/9261668 | |
# this is a GPL 3+ script | |
# author Ademar Alves de Oliveira <[email protected]> | |
mkdir res res/drawable-hdpi res/drawable-mdpi res/drawable-xhdpi res/drawable-xxhdpi | |
mv $1 res/drawable-xxhdpi | |
drawable_convert.py -d res/drawable-mdpi -d res/drawable-hdpi -d res/drawable-xhdpi res/drawable-xxhdpi/$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment