Bug #1334

Version 0.26 is returns unwanted data when the key value is received from RW2 files (Panasonic DMC-GF6 camera)

Added by Alex Stepanov 7 months ago. Updated 7 months ago.

Status:AssignedStart date:28 Jan 2018
Priority:NormalDue date:
Assignee:Robin Mills% Done:

20%

Category:image formatEstimated time:1.00 hour
Target version:0.27

Description

Version 0.26 is returns unwanted data when the key value is received from RW2 files.
Version 0.25 works fine!

$ exiv2 -g Exif.Photo.ISOSpeedRatings -Pt ./P1110094.rw2

RW2 IMAGE
160

The first line in output 'RW2 IMAGE' is unwanted data.
I expected to get only the numerical value of ISO.
But, in the first line of output, I get the file type, although it is already known to me.

This bug is only relevant for the Panasonic DMC-GF6 camera for getting any keys values.
If I try to get the value of the key from the RAW file of Canon, then everything works fine!

$ exiv2 -g Exif.Photo.ISOSpeedRatings -Pt ./IMG_0503.CR2

100

P1110094.rw2 (18.4 MB) Alex Stepanov, 28 Jan 2018 12:55

History

#1 Updated by Robin Mills 7 months ago

Thanks for reporting this, Alex. The fix is at the beginning of Rw2Image::printStructure() in src/rw2image.cpp:

    void Rw2Image::printStructure(std::ostream& out, PrintStructureOption option, int depth) {
        out << "RW2 IMAGE" << std::endl;
        if (io_->open() != 0) throw Error(9, io_->path(), strError());
        ... 
I'll submit this fix later today. I'm very surprised that this issue was not detected by our test harness and I will also rectify that.

Are you my old buddy Alex Stepanov from Adobe Systems Incorporated in San Jose, California?

#2 Updated by Robin Mills 7 months ago

  • Category set to image format
  • Status changed from New to Assigned
  • Assignee set to Robin Mills
  • Target version set to 0.27
  • % Done changed from 0 to 20
  • Estimated time set to 1.00

#3 Updated by Alex Stepanov 7 months ago

Thanks for the quick response!
Very glad to help! Thanks for the exiv2!
No, I'm not from Adobe Systems Incorporated in San Jose, California.

I'm a new buddy from small resort city Pyatigorsk, Russia :-)

#4 Updated by Robin Mills 7 months ago

Thank you for using exiv2.

Your namesake is a very famous engineer. He invented STL: https://en.wikipedia.org/wiki/Alexander_Stepanov He's also an incredibly nice and fun guy. I'm retired now. I had nothing to do with metadata when I worked at Adobe.

I'm always looking for volunteers to contribute to Exiv2. If you'd like to be involved, I'd be delighted to Welcome You to Team Exiv2.

#5 Updated by Alex Stepanov 7 months ago

Thanks for a link! It was interesting to read!
Yes, Alexander Stepanov by link in wiki is a very strong programmer and engineer! To me, of course, very far from his success!
The most interesting is that he is my full namesake. I, too, Alexander Alexandrovich Stepanov!

Thank you for the invitation to participate in the Team Exiv2! Only I do not have experience working in similar projects. But, if I can be of any use, I'm ready to help! I think it will be a good practice.

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux