PhoneGap requires the same image be converted to a number of sizes with a specific filename. Goal of image_resize is to automate the image resize process.
Note: this is ios specific at this point.
Once created icons / splash files go into /platforms/ios/<project//(splash or icons)
=======
This uses sips to do the image resize (so might require tweaking on a non-mac os).
resize images to icon sizes
ruby image_resize.rb -i <filename>
output will be a icons directory with all the newly created files.
crop images to splash image sizes
ruby image_resize.rb -s <filename>
output will be a splash directory with all the newly created files.