Simple Ruby/ImageMagick script to resize high-resolution Android drawable assets to lower resolutions.
- Make sure you have ruby running.
- Install ImageMagick (I highly recommend using homebrew for that.
- Clone the repo.
cdinto yourresdirectory (the one that contains drawable-hdpi).- Run
ruby resizer.rband let it do its thing. Read the output, it can be helpful.
Some assets simply have to be generated by hand, especially thin lines.