Manually resizing images for Android’s density bins is tedious and error prone.
I’ve been using imagemagick
to automate the process, but its command-line
syntax is awkward and difficult to remember.
Here’s a script to handle the typical use-case: take an image, resize it, and
put it in the various XXDPI
folders of a project.