aspose file tools*
The moose likes Android and the fly likes how to compress an image in android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "how to compress an image in android" Watch "how to compress an image in android" New topic
Author

how to compress an image in android

Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 213
hi,
i want to compress an image and insert into database.
which compression technique should i use without loosing quality of my image....
Pondurai Singh
Ranch Hand

Joined: Jun 27, 2011
Posts: 35
compress an image and save the image

For your reference
http://developer.android.com/reference/android/graphics/Bitmap.html#createScaledBitmap%28android.graphics.Bitmap,%20int,%20int,%20boolean%29


Software Developer, Oracle Java Certification Training Labs at EPractize Labs.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Lossless compression generally results in at most a 50% reduction in size - hardly worthwhile given the cost of hard disk storage these days.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to compress an image in android