Exif extract only the first 50 char of the caption

bergeroy

Joined: 2007-05-08
Posts: 6
Posted: Sun, 2009-10-04 01:45

Hi,

It seems the Exif module get only the first 50 chars of the caption to put it in the description of the photo. Is it a known problem ?

With the attached photo, I get "Adolphe est le fils de Adolphe Boissonneault et Ph" instead of "Adolphe est le fils de Adolphe Boissonneault et Phébée Gaudreault".

Thanks.

Yves Bergeron

AttachmentSize
BOISSONNEAULT, Adolphe et GUILLEMETTE, Bertha.jpg269.23 KB
 
bergeroy

Joined: 2007-05-08
Posts: 6
Posted: Sun, 2009-10-04 01:50

Hi,

It's not really the first 50 chars. Instead, Exif stops getting the caption at the first accented letter.

Yves bergeron

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Sun, 2009-10-04 02:51

There is a 2000 character limit:
http://www.controlledvocabulary.com/imagedatabases/iptc_naa.html#IPTCchart
A picture is worth 1,000 words 2k characters! :-)

What editor are you using to add the caption?

please do more testing with the accented letters and submit a ticket if need be.
We use a 3rd party library for EXIF data.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bergeroy

Joined: 2007-05-08
Posts: 6
Posted: Sun, 2009-10-04 13:54
Quote:
What editor are you using to add the caption?

Sometimes, I use the properties dialog from Windows Vista. I also use XnView.

I'll submit a ticket.

Yves

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Mon, 2009-10-05 13:47

I think that Windows seem to modify/add new data called XMP. Until there is a open source library for that it will not get added to Gallery.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bergeroy

Joined: 2007-05-08
Posts: 6
Posted: Mon, 2009-10-05 16:36

I developed a script with exiftool wich copy the XMP content in IPTC at will. In the photo I submitted in my first post, the caption is in IPTC.

Yves