Directory SubImage size Error after EXIF warning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Incomplete
|
Undecided
|
robinmills |
Bug Description
Running phatch 0.2.7 on Ubuntu 10.04, adding a png watermark on a jpg file and saving it as a new jpg in a subdirectory.
If EXIF is unchecked in the "save" action (sorry, translating from a french GUI), everything is fine and the batch is processed quite quickly.
But if EXIF is checked, the process lags a bit on each picture and the terminal says
Warning: Directory SubImage1, entry 0x0009 has unknown Exif (TIFF) type 0; setting type size 1.
Error: Directory SubImage1, entry 0x0009 has invalid size 2450063363*1; skipping entry.
Error: Directory SubImage2 with 37385 entries considered invalid; not read.
The picture originally was a .nef RAW file, converted to jpg by Rawtherapee alpha3 and resized in GIMP (no TIFF anywhere in that workflow).
Changed in phatch: | |
assignee: | nobody → robinmills (robinmills) |
This sounds like an issue that involves the exiv2 library and your image. Can you add the image to this bug report and I'll investigate. Perhaps you could do the first step and the investigation by install the exiv2 application and running it on the image:
$ sudo apt-get install exiv2
$ exiv2 -pt logo_photo_big.png
If that's OK, then I'll dig around a bit more and see what's the matter.