PiRSquared17 / thebigpicture

Automatically exported from code.google.com/p/thebigpicture
0 stars 0 forks source link

Jpeg image becomes all gray after opening and writing #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The attached image (and several others) become uniformely grey after TBP
has rewritten it, even if no meta information was changed.

The comment that was recorded in the image is also lost. Otherwise, the
metadata seems to be unchanged. The rewritten image is 5 bytes smaller than
the original one though.

Original issue reported on code.google.com by p.edel...@gmail.com on 22 Apr 2007 at 8:13

Attachments:

GoogleCodeExporter commented 9 years ago
This issue is caused by a wrong ordering of the Jpeg segments; if the 
COM-segment is
written first of somewhere in between the APP-segments, the image and comment 
are 
retained.

This bug thus becomes dependent on issue #5.

Original comment by p.edel...@gmail.com on 22 Apr 2007 at 8:37

GoogleCodeExporter commented 9 years ago
This is fixed in revision 55, when closing issue #5.

Original comment by p.edel...@gmail.com on 22 Apr 2007 at 1:30