Saving Jpeg Files In Android With No Loss Of Pixel Information
I'm loading a jpeg-file via BitmapFactory and try to save it again (later I want to do some calculation on the pixel data before I save it again). But if I try to save it with File
Solution 1:
Is there a possibility to safe it lossless?
No. The JPEG format uses a lossy compression. It makes no formal guarantees even if you set the quality to 100.
Or is the problem already when I load the picture with [...]
No, bitmaps are... maps of bits, i.e. they represent the exact bits of the image data.
Post a Comment for "Saving Jpeg Files In Android With No Loss Of Pixel Information"