Wrong image reported size for some RAW files.

Added by Fulvio Senore 78 days ago

I just added some raw support to a program that I am developing, so I tested it with some raw files that I downloaded for testing purposes.
Everything worked well for some files, but I had problems with Nikon and Sony ones.
The library reports a very small size for NEFs, and 0x0 size for Sony files. I also tested with the exiv2 standalone program and I found the same result, so it looks like a problem in the exiv2 library.

I looked at the issues page and it looks like I have found bug #641 (exiv2 "Image size" output broken for Nikon D700 NEF files).

Since the bug has been solved I also looked at the source code changes: they are rather simple so I could apply the changes to my local source code to fix the bug. It also looks like this fix is independent from others, so the library should work well if I only make those changes, but of course I cannot be sure.

So here is the question: is it safe to apply the changes of revision 1873 to the source code of version 0.18.2, or would this cause problems?

Thanks in advance.

Fulvio


Replies

RE: Wrong image reported size for some RAW files. - Added by Andreas Huggel 77 days ago

So here is the question: is it safe to apply the changes of revision 1873 to the source code of version 0.18.2, or would this cause problems?

That should work, just give it a try.

Andreas

RE: Wrong image reported size for some RAW files. - Added by Fulvio Senore 77 days ago

It worked, thank you.

Fulvio