How to add jpeg compression?
The app we are working on uploads images from the field.
The users will be uploading over 3g so it would be good to reduce the size of the images before upload.
I've worked out how to scale the image dimensions using an image view but cant seem to find how to change the quality of the jpeg before upload.
I have set videoQuality:Titanium.Media.QUALITY_LOW
in the camera options but this has no effect.
Is there a imageQuality option in either the camera or imageView?
1 Answer
-
There's one (!) pure JavaScript JPEGEncoder ;)