Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 830 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 830 Bytes

iOS resizer

Resize application icon and set icon to Contents.json file using command line. Bulk resize @3x to @2x and @3x to @1x images.

Getting started

This script depends on imagemagic program To install imagemagic please run ```brew install imagemagick ```
Make sure to put imagemagick in your path

You can put this script in path or you can copy the script and run it from there.

Usage

Create app icon
``` ios_resize -ai your_icon_.png xcassets_folder_name ```
Bulk resize images
This function will go from current folder to all subfolder, so make sure you are in a right folder. ``` ios_resize to2x ios_resize to1x ```

Next steps
Make support for launch images Catch imagemagic errors, and better error handling as well as returning signals from functions