Project

General

Profile

Feature #460

Exiv2 should support to decode/encode Windows tags Exif.Image.0x9c9b-0x9c9f

Added by Andreas Huggel over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
exif
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

A character set conversion / print function seems to be required.

From:
To:
Subject: Re: Exiv2 supporting Windows JPG Metadata
Date: Sun, 26 Feb 2006 09:46:07 -0400

Ok, exiftool converts the data from 16 bit unicode to 8 bit UTF-8 if I
understand this correctly. Since it is written in Perl, it can use some Perl
magic to do that. I'll have to figure out how this could be done in C++. So
far exiv2 is completely ignorant of character sets.

Andreas

On Sunday 26 February 2006 03:46, you wrote:

Doing a search on the tag ID I found this tool which can read and write to
those tags -
ExifTool http://www.sno.phy.queensu.ca/~phil/exiftool/

0x9c9b XPTitle undef IFD0 (tags 0x9c9b-0x9c9f are used by Windows
Explorer; special characters in these values are converted to UTF-8 by
default, or Windows Latin1 with the -L option. XPTitle is ignored by
Windows Explorer if ImageDescription exists)
0x9c9c XPComment undef IFD0
0x9c9d XPAuthor undef IFD0 (ignored by Windows Explorer if Artist
exists)
0x9c9e XPKeywords undef IFD0
0x9c9f XPSubject undef IFD0

Not sure how it is encoded.

- jose

From: "Andreas Huggel" <>
To: "Jose Oliver" <>
Subject: Re: Exiv2 supporting Windows JPG Metadata
Date: Sat, 25 Feb 2006 11:00:40 +0100 (MET)

Okay, I managed to add those tags and they seem to be Exif tags and Exiv2
finds them as I expected. This is what I get, next question is how to
decode them:

Exif.Image.0x9c9b Byte 38 65 0 115 0 105
0 97 0 110 0 32 0 103 0 105 0 114 0 108 0 32 0 40 0 84 0 105 0 116 0 108 0
101 0 41 0 0 0
Exif.Image.0x9c9c Byte 130 84 0 104 0 105
0 115 0 32 0 105 0 115 0 32 0 116 0 111 0 32 0 102 0 105 0 110 0 100 0 32 0
111 0 117 0 116 0 32 0 119 0 104 0 101 0 114 0 101 0 32 0 116 0 104 0 101 0
115 0 101 0 32 0 112 0 114 0 111 0 112 0 101 0 114 0 116 0 105 0 101 0 115
0 32 0 97 0 114 0 101 0 32 0 115 0 116 0 111 0 114 0 101 0 100 0 32 0 40 0
67 0 111 0 109 0 109 0 101 0 110 0 116 0 115 0 41 0 0 0
Exif.Image.0x9c9d Byte 32 78 0 111 0 116
0 32 0 109 0 101 0 32 0 40 0 65 0 117 0 116 0 104 0 111 0 114 0 41 0 0 0
Exif.Image.0x9c9e Byte 48 114 0 101 0 100
0 32 0 103 0 105 0 114 0 108 0 32 0 112 0 111 0 112 0 32 0 40 0 75 0 101 0
121 0 119 0 111 0 114 0 100 0 115 0 41 0 0 0
Exif.Image.0x9c9f Byte 62 78 0 111 0 116
0 32 0 115 0 117 0 114 0 101 0 32 0 119 0 104 0 111 0 32 0 116 0 104 0 105
0 115 0 32 0 105 0 115 0 32 0 40 0 83 0 117 0 98 0 106 0 101 0 99 0 116 0
41 0 0 0

-ahu.

--- Ursprُ؟�ngliche Nachricht ---
Von: "Jose Oliver" <>
An: <>
Betreff: Exiv2 supporting Windows JPG Metadata
Datum: Fri, 24 Feb 2006 18:56:52 -0400

Are there any plans for Exiv2 to support Windows JPG Metadata?

WinTitle Windows Explorer Title

WinAuthor Windows Explorer Author

WinSubject Windows Explorer Subject

WinComments Windows Explorer Comments

WinKeywords Windows Explorer Keywords

Similar to: http://www.aspjpeg.com/index.html

- jose

History

#1

Updated by Andreas Huggel almost 15 years ago

Pretty-print functions based on libiconv?

check libiconv: http://www.gnu.org/software/libiconv/

check exiftool notes: http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/EXIF.html

Also available in: Atom PDF