File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to compress an image in android
 
Similar Threads
compress jpg image file
Image compression and decompression
DICOM
I want to compress png image(loose-less compression)
WA #1.....word association