Corona SDK Pro Tip of the Day #15
Automatic image downsizing

Use a special script to make lower res image versions. @4x -> @2x -> 1x version.

It takes time to manually save scaled down versions of your original artwork. If you support iPad retina, your original is @4x version, otherwise it's @2x version.

So I've made a script that uses bash and ImageMagick to find and scale down all high res versions into lower res versions.

Grab it here.

Save it in say /usr/bin, apply execution bit with chmod +x and use it like this

your/project/directory> downsize.sh png  

or

your/project/directory> downsize.sh jpg  

That will find recursively all png or jpg images in your project and prepare lower res versions for them.

Indie Game Developer