← Back to team overview

pyexiv2-developers team mailing list archive

Re: pyexiv2 0.2.0 released

 

Hi Stani,

On 2010-03-25, Stani <spe.stani.be@xxxxxxxxx> wrote:
I had a quick look and it looks really good!

Thanks! Let's see if it proves as good as it looks :)

Reading the documentation, I have the following questions:
- Are raw_value extracted lazily or all they all extracted with metadata.read()?

What ImageMetadata.read() does is basically to call the underlying readMetadata() method of the Exiv2::Image class, so from pyexiv2's point of view, the raw values are lazily extracted upon request.

- Does metadata.copy also copy previews?

No. It optionally copies EXIF, IPTC and XMP metadata, but not the previews.

- Does tag.value give unicode strings of tag.raw_value if eg some
chinese is stored in the tag?

No conversion is performed for EXIF and IPTC tags (it should ideally be done, there are some FIXMEs in the code). For XMP, a conversion is attempted. I haven't tested anything with Chinese characters, though. I'd be curious to see how it behaves. For IPTC tags, see also the related https://bugs.launchpad.net/pyexiv2/+bug/461847.

We are finishing the Phatch 0.2.* releases (our last stage is Windows
and Mac installers) and for Phatch 0.3 we will use this.  We got
requests for XMP support, so it will be nice to integrate that.

Yeah, I can't wait to see pyexiv2 0.2 used in a real world application to stress it a bit!

Olivier, I don't know if you looked to the Phatch image inspector but
it is a GUI frontend to pyexiv2 ;-) It allows you to edit metadata in
a grid for images individually or collectively (by row).

I remember looking at it when it was in its early stages of prototyping. I wanted to write such an application at some point, but you've been faster :)

Congratulations with the new release!

Thanks, keep up the good work on Phatch!
I was writing to Robin earlier today, and mentioning that I'll be happy to help in porting Phatch to pyexiv2 0.2, just let me know when and how I can help!

Cheers,

Olivier



Follow ups

References