Skip to content

Instantly share code, notes, and snippets.

@ademar111190
Created February 27, 2014 23:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ademar111190/9262281 to your computer and use it in GitHub Desktop.
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
#!/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 <ademar111190@gmail.com>
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