Skip to content

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

Notifications You must be signed in to change notification settings

cuca24/iOS-resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages