Image Crop Plugin
This plugin allows you crop, compress, and set the resolution of images outside of the scope of Corona's APIs.
Platforms:
this plugin only works with iOS and AndroidLimitations:
On android you can not crop images greater than width or height,Functions:
imageCrop.crop(pathOfImage,x,y, width, height, destinationPath)
pathOfImage(string) path of image you would like crop (via system.pathForFile)
x(number) x point where crop image
y(number) y point where crop image
width(number) width at which to crop image
height(number) height at which to crop image
destinationPath(number) destination for path cropped image (via system.pathForFile)
imageCrop.setResolution(pathOfImage, width, height, destinationPath)
pathOfImage(string) path of image you would like scale (via system.pathForFile)
width(number) width at which to scale image
height(number) height at which to scale image
destinationPath(number) destination for path scaled image (via system.pathForFile)
imageCrop.compress(pathOfImage, destinationPath)
pathOfImage(string) path of image you would like compress (via system.pathForFile)
destinationPath(number) destination for path compressed image (via system.pathForFile)