Opened 21 years ago
Closed 21 years ago
#1639 closed defect (fixed)
Gimp has a problem to open jpg files
| Reported by: | Owned by: | Randy McMurchy | |
|---|---|---|---|
| Priority: | high | Milestone: | 6.2.0 |
| Component: | BOOK | Version: | SVN |
| Severity: | medium | Keywords: | |
| Cc: |
Description
I found a problem with opening jpg images with gimp. This is caused by exif 0.6.12
For this I found a patch at: http://cvs.sourceforge.net/viewcvs.py/libexif/libexif/libexif/exif-data.c?r1=1.67&r2=1.68&sortby=date&diff_format=u
after applying this patch everything works as expected
=================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-data.c,v retrieving revision 1.67 retrieving revision 1.68 diff -u -r1.67 -r1.68 --- libexif/libexif/libexif/exif-data.c 2005/03/09 22:11:48 1.67 +++ libexif/libexif/libexif/exif-data.c 2005/03/13 19:56:13 1.68 @@ -231,7 +231,7 @@
- the offset must be an even number. If we need to introduce
- a padding byte, we set it to 0. */
- if (s & 1) *ds++;
+ if (s & 1) (*ds)++;
*d = exif_mem_realloc (data->priv->mem, *d, *ds); if (!*d) {
EXIF_LOG_NO_MEMORY (data->priv->log, "ExifData", *ds);
Change History (3)
comment:1 by , 21 years ago
| Milestone: | future → 6.2 |
|---|---|
| Owner: | changed from to |
| rep_platform: | PC → All |
| Version: | b-6.1-pre1 → a-SVN |
comment:2 by , 21 years ago
| Status: | new → assigned |
|---|
comment:3 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
This bug was fixed upstream in the libexim release that is currently in the BLFS book. Closing as fixed.

Libexif has already been updated to new versions. I'm updating GIMP and will check this bug out and close/update as necessary.