IPTC & EXIF in TIFF files

How to use XnView. Post your question or ask for help, here.

Moderators: helmut, Olivier_G, Dreamer, XnTriq, xnview

IPTC & EXIF in TIFF files

Postby wishy » Fri Jan 05, 2007 3:37 am

I find that TIFF files with metadata only show as flagged in Xnview whenever they have been saved with no compression. Is there a way for compressed Tiffs to display data?

Also, thinking that I could batch convert my compressed tiff files within Xnview, I found that converting from compressed to non-compressed seemed to delete metadata. Is this the correct behaviour or is there a way to convert and maintain the metadta?
TIA
wishy
 

Re: IPTC EXIF Query

Postby xnview » Fri Jan 05, 2007 9:37 am

wishy wrote:I find that TIFF files with metadata only show as flagged in Xnview whenever they have been saved with no compression. Is there a way for compressed Tiffs to display data?

Could you send me a sample?
Also, thinking that I could batch convert my compressed tiff files within Xnview, I found that converting from compressed to non-compressed seemed to delete metadata. Is this the correct behaviour or is there a way to convert and maintain the metadta?
TIA

TIFF too?
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16251
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: IPTC EXIF Query

Postby wishy » Fri Jan 05, 2007 3:13 pm

xnview wrote:
wishy wrote:I find that TIFF files with metadata only show as flagged in Xnview whenever they have been saved with no compression. Is there a way for compressed Tiffs to display data?

Could you send me a sample?
Also, thinking that I could batch convert my compressed tiff files within Xnview, I found that converting from compressed to non-compressed seemed to delete metadata. Is this the correct behaviour or is there a way to convert and maintain the metadta?
TIA

TIFF too?


On further testing, it doesn't appear to be the case that compressed Tiffs don't flag. If I open and resave in Photoshop (compressed or not) the metadata does flag in Xnview. The metadata was written using Adobe Bridge but doesn't seem to show up in Xnview until I resave the file via Photoshop.

I was thinking that if I used batch convert in Xnview to resave my tiffs in the same format, I might retain the metadata but doing so seems to remove the metadata.
wishy
 

Save as Tiff and exif lost

Postby Eric B » Sat Oct 25, 2008 4:01 pm

I still enjoy using XnView as main image viewer. Thanks.

I've just upgraded to v1.95.2 which seems to support IPTC for tiff files. What about EXIF?

I am currently working with Hugin to make some panorama and try to rework the resulting tiff with XnView.

I open a TIFF file with EXIF data (with LZW compression or without compression). The Exif metadata are properly read, but when I save the tiff file and reload it again, the EXIF metadata are lost.
Could we expect full exif support in a future version?
When directly too difficult, could ExifTool be an alternative?

Other question regarding the Auto crop feature: it works quite well currently by removing only e.g. the black lines.
Would it be possible to enhance it with a rectangular option, so that the auto cropped image is a full rectangular one, by cropping some irregular borders?
Eric B
 
Posts: 29
Joined: Sun Oct 21, 2007 8:39 pm

Re: Save as Tiff and exif lost

Postby xnview » Thu Oct 30, 2008 1:08 pm

Eric B wrote:I open a TIFF file with EXIF data (with LZW compression or without compression). The Exif metadata are properly read, but when I save the tiff file and reload it again, the EXIF metadata are lost.

Strange, i can't confirm. Perhaps you can send me the tiff file?
Other question regarding the Auto crop feature: it works quite well currently by removing only e.g. the black lines.
Would it be possible to enhance it with a rectangular option, so that the auto cropped image is a full rectangular one, by cropping some irregular borders?

ok an interesting feature
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16251
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Postby Eric B » Mon Nov 03, 2008 7:44 pm

here a tiff file well tagged

What did I do? What can be reproduced:
1) open the orginal tiff in xnview
2) (resize it and) saved it as this file
3) refresh it in xnview (-> reloads the metadata) -> the IPTC data are still there but no exif anymore.

4) display the metadata with exiftool:
Code: Select all
Exiftool.exe -all 20081019_15-55-46_Regensburg_pano6_23mm_resized.tif

I get the following warning:
Current IPTC Digest : 92b5362261d3866154f1b5f9dcb6b3b8
Warning : Bad IPTC data tag (marker 0x6f)

5) first try to retag the file:
Code: Select all
Exiftool.exe -TagsFromfile mySrcFile.CR2 20081019_15-55-46_Regensburg_pano6_23mm_resized.tif

I get the following error:
Warning: [minor] Entries in IFD0 were out of sequence. Fixed. - 20081019_15-55-46_Regensburg_pano6_23mm_resized.tif
Error: Error writing IFD0:IPTC-NAA - 20081019_15-55-46_Regensburg_pano6_23mm_resized.tif

6) so I first need to remove completly the metadata:
Code: Select all
Exiftool.exe -all= 20081019_15-55-46_Regensburg_pano6_23mm_resized.tif

7) and then retag the file with the same cmd as in 5. It worked and this is the file I've uploaded.

So it seems that the exif/iptc management is still a little buggy with tiff files.
I generally trust exiftool which is well recognized as a good tool to manage metadata.


Edit: I just found out this spec:
http://www.metadataworkinggroup.com/pdf ... idance.pdf
It would interessting that XnView respect the guidelines of the metadata data working group!
Eric B
 
Posts: 29
Joined: Sun Oct 21, 2007 8:39 pm

Postby xnview » Tue Nov 04, 2008 8:40 am

Sorry but currently only IPTC is saved in TIFF, i'll add EXIF too
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16251
Joined: Mon Oct 13, 2003 7:31 am
Location: France


Return to General Support

Who is online

Users browsing this forum: No registered users and 3 guests