How can I scaleDown the photo quality of captured with a device camera image?

@tatiana you are right. The display.save will only sabe the display object specified. If you want to save everything on the screen you will have to do the screenshot.

The display save actually works as a screenshot of only the specified object. So if the object is invisible, you will get a blank image.

I did not understand very well what you want to do in the overall. If you want to reduce file size to send the file via internet you should use the display.save(). If the image that you want to reduce the size will be only used on the own android device, you should have no problem using the screenshot or display.save, since the resolution that it will capture the image (assuming that you will have scaled the image to fill the entire screen before taking the screenshot or display.save) will be the maximum that the display can handle (so the user will not notice any difference).

rsc [import]uid: 181011 topic_id: 34752 reply_id: 139435[/import]

@rsc I agree, but this application will use many users with tablets/iPads, so we need also o keep a high quality resolution of the photos on our server. [import]uid: 172733 topic_id: 34752 reply_id: 139442[/import]

So a user can create image using the android phone and then upload the image to your server and that image could be downloaded to a table. Is that correct? [import]uid: 181011 topic_id: 34752 reply_id: 139485[/import]

@rsc yes, this is the flow
[import]uid: 172733 topic_id: 34752 reply_id: 139486[/import]

Hummm… as far as I know you really have only 2 options: (1) keep the original file size (resolution) (2) reduce the filesize but once you reduce, you will have a cap resolution limitation that will be the your android device screensize…

If you find any other solution, I would love to listen because it will be useful for me also.

rsc
[import]uid: 181011 topic_id: 34752 reply_id: 139488[/import]

For an app I am working on I am uploading the image at full resolution and then scaling it server side, not perfect but the best solution for the moment. [import]uid: 184705 topic_id: 34752 reply_id: 139507[/import]

Yes, that would works, but @tatiana was looking to reduce the image size before uploading so it would the upload would be faster…

How are you reducing the resolution on the server? Using C++? Do you have a code that could share?

rsc [import]uid: 181011 topic_id: 34752 reply_id: 139513[/import]