A linux bash shell script project for resizing image files to your required DIP/DP values.
-
Clone/download it as zip the repo, , place the image files in the directory of the project, run the shell script resize_to_dp.sh with arguments like so
./resize_to_dp.sh {(Integer)width in dp} {(Integer)height in dp} {path to destination folder containing the drawable directories}
- Add validation checks to see if the drawable directory exists.