Documentation ¶
Overview ¶
Command droidscale resizes android resources.
Set srcdpi to ldpi, mdpi, hdpi, xhdpi, xxhdpi and xxxhdpi; srcdpi scaling is skipped by default. Specifying a srcdpi below xxxhdpi will scale images up if -scaleup flag is set. Contents of flag path will be walked and new files written to out directory will be flattened. This means you can organize the contents of flag path with subdirectories to target different interpolations for use on a particular set of images. For example:
droidscale -path="xhdpi/L2" -interp="Lanzcos2" droidscale -path="xhdpi/L3" -interp="Lanzcos3"
Inspecting the contents of ./out/drawable-mdpi/ and friends will show a flat list of the resized files.
Click to show internal directories.
Click to hide internal directories.