I am doing a thing.
I wonder how to reduce image size.
User will take pictures though IPHONE or ANDROID phone.
Then upload images into SERVER.
however the image size taken by camera might be in huge size like 2MB or more.
is there any way to Reduce image size?
so i can scale it’s size then save it again(ex,scale down images from 1600x1200 to 800x600).
I have tried.
local image = display.newImage("thephoto2.jpg",system.DocumentsDirectory)
display.save( image, "image.jpg", system.DocumentsDirectory)
However, it just saved what’s showed on the screen, not actually reduce a PHOTO.
Any ideas? [import]uid: 25057 topic_id: 29693 reply_id: 329693[/import]