[ 
https://issues.apache.org/jira/browse/IMAGING-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307293#comment-16307293
 ] 

Bruno P. Kinoshita commented on IMAGING-207:
--------------------------------------------

Hi [~joakimk]! Happy new year.

I'm happy to tell you we can close this ticket as not a problem. As it's not 
exactly an issue... though it might be a bit annoying to users coming from 
previous sanselan 0.9x releases.

As mentioned before, the tags have been moved. But what I found this morning 
while working on this issue, is that not only they were being moved, but also 
some Java constants have been renamed.

EXIF_TAG_IMAGE_DESCRIPTION is now TiffTagConstants.TIFF_TAG_IMAGE_DESCRIPTION
EXIF_TAG_XPCOMMENT is now MicrosoftTagConstants.EXIF_TAG_XPCOMMENT

If you know which tag you are looking for, and you have the Tag ID, I'd suggest 
doing something like:

{code}
$ cd 
/home/kinow/Development/java/apache/commons-imaging/src/main/java/org/apache/commons/imaging/formats/tiff/constants
$ grep -r -H "9c9c" .
./MicrosoftTagConstants.java:            "XPComment", 0x9c9c, 
TiffDirectoryType.EXIF_DIRECTORY_IFD0);
{code}

Which would then tell you which file holds a constant with that Tag ID.

Hope that helps, and sorry for the delay to notice this was just a matter of 
locating the constant in another file with a different name.

Cheers
Bruno


> Missing support for EXIF tags
> -----------------------------
>
>                 Key: IMAGING-207
>                 URL: https://issues.apache.org/jira/browse/IMAGING-207
>             Project: Commons Imaging
>          Issue Type: Improvement
>            Reporter: Joakim Knudsen
>            Assignee: Bruno P. Kinoshita
>            Priority: Minor
>
> It seems Commons Imaging does not seem to support the following tags (which 
> are supported by Sanselan 0.97):
> ||Tag ID||Tag Name||Writable||Group||Values / Notes||TiffConstant in 
> Sanselan||
> |0x010e|ImageDescription|string|IFD0| |EXIF_TAG_IMAGE_DESCRIPTION|
> |0x9c9c|XPComment|int8u|IFD0| |EXIF_TAG_XPCOMMENT|
> https://sno.phy.queensu.ca/~phil/exiftool/TagNames/EXIF.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to