That's what i'm doing with my app as well.
And i have the same issue. As soon as your re-read a JPEG and save it
again (modified or not), you will get loss of quality. There is no
other way around it.

In my app, i don't save over the original image. I do a 'save-as',
more or less. At least the original image is preserved.

In other words; i find the same problems that you find.
As soon as i find out a way to solve these, i'll let you know :-)

Updating gallery and thumbnails: Take a look at the
MediaScannerConnection.
(note that i have had mixed results with this class. rebooting or re-
mounting your sd-card usually does the trick better)

On Aug 25, 11:50 am, karthikr <[email protected]> wrote:
> My application reads existing images from the mobile, and allows the
> user to edit it and save it, if the image is in a jpeg format there is
> a loss in quality when the image is edited and saved. Is there any
> other way to open a jpeg image edit it and save it back?
>
> Also i have noted one more thing that whenever i make changes to an
> image the thumbnails of it are not getting updated in the gallery, any
> pointers on how to implement that?
>
> Thanks a lot in for your help.
>
> Regards,
> R.Karthik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to