Hi,
I’m making an image with the camera. Here I have two choices:
- Save the display object
- Save the original file taken
I need to send the image to a server, so option 2 isn’t my preferred solution, as the images are about 3-4MB each.
Number 1 gives somewhat reasonable results, but still the image is way too big for my needs (it’s 400kb for 640x960).
I need a way to specify the quality level for the display.save() method.
Now, as that’s probably not likely to be in corona any time soon, I am in deep need of an alternative.
Is there any pure-lua JPG library (or any other method so I can compress the image to around 50-150kb?)
Or is it possible to use libjpeg from within corona? [import]uid: 5942 topic_id: 32185 reply_id: 332185[/import]
