Garumbo
Garumbo

Reputation: 105

How take photo and reduce image file dimension

in my android app i've implemented a method for taking a photo and save it in a folder specified by me.

I would like to automatically resize the image (or compress it) to reduce the file dimension under the 1MB, obviously before saving it.

Which is the best way to do this?

Thanks

Upvotes: 1

Views: 537

Answers (1)

Pontus Backlund
Pontus Backlund

Reputation: 1017

Take a look at this: http://developer.android.com/training/displaying-bitmaps/load-bitmap.html , it has good examples of how to keep your filesize down on photos

Upvotes: 1

Related Questions