How to show Microsoft Fileinfo in fullscreen and slideshow?

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
klapperstorch
Posts: 50
Joined: Fri Jan 26, 2007 8:43 am

How to show Microsoft Fileinfo in fullscreen and slideshow?

Post by klapperstorch »

Microsoft Windows (XP) has its own way of annotating files by means of the "file properties - file info" dialog (right click on file - properties - fileinfo in Windows Explorer).
Windows Explorer allows to select any of the fileinfo fields to be displayed as a column in its filelist area.
Now, some friends of mine have used the title field of this fileinfo to describe the pictures. And they did it in hundreds of pictures.
Having been introduced by me to XnView recently, they would now like to show this information in the fullscreen and slideshow.
XnView allows to specify EXIF and IPTC fields to be displayed, but not the mentioned fileinfo fields.

Would it be much of a problem to add these fields to the selection menu for "Show Information - Insert >>" for fullscreen and slideshow?
Or does anyone know a way of copying the Microsoft fileinfo into IPTC fields for masses of files? Or how to export these fields to a file, or how to read them by a program (are there Windows filesystem functions to access that data, if yes, by which programming language)?

Any help or comment appreciated. Thanks.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to show Microsoft Fileinfo in fullscreen and slidesh

Post by xnview »

klapperstorch wrote: Would it be much of a problem to add these fields to the selection menu for "Show Information - Insert >>" for fullscreen and slideshow?
Or does anyone know a way of copying the Microsoft fileinfo into IPTC fields for masses of files? Or how to export these fields to a file, or how to read them by a program (are there Windows filesystem functions to access that data, if yes, by which programming language)?
Currently i don't know how to get them :-(
Pierre.
User avatar
rra
Posts: 192
Joined: Thu May 11, 2006 1:46 pm
Location: The Netherlands

Post by rra »

I am not sure about windows XP,
but with Vista the file-info is embedded as XMP data
in the images,
then using the XNview option: "build IPTC from XMP"
one can copy this data into IPTC fields and show it
in full screen / slide show.
Maybe this works also for windows XP ??

René
User avatar
klapperstorch
Posts: 50
Joined: Fri Jan 26, 2007 8:43 am

Post by klapperstorch »

rra wrote:I am not sure about windows XP,
but with Vista the file-info is embedded as XMP data
in the images,
then using the XNview option: "build IPTC from XMP"
one can copy this data into IPTC fields and show it
in full screen / slide show.
Maybe this works also for windows XP ??

René
I did some tests and found that the mentioned information ist stored inside the JPEG file. It seems not to be the XMP data because the "build IPTC from XMP" option in Metadata is greyed out.
Pierre, I could send you an example. But you can create one yourself. Just enter some information via the Microsoft file properties - fileinfo dialog and then look inside the JPEG file.
User avatar
klapperstorch
Posts: 50
Joined: Fri Jan 26, 2007 8:43 am

Post by klapperstorch »

klapperstorch wrote: I did some tests and found that the mentioned information ist stored inside the JPEG file. It seems not to be the XMP data because the "build IPTC from XMP" option in Metadata is greyed out.
Pierre, I could send you an example. But you can create one yourself. Just enter some information via the Microsoft file properties - fileinfo dialog and then look inside the JPEG file.
The fileinfo data is part of the EXIF data and follows immediately the "Date modified" field. It seems even to be part of this field because there is no separator between.
Unfortunately it is not displayed by XnView and no option allows to copy this data to IPTC or to descript.ion or to show it in the fullscreen display and slideshow.
User avatar
rra
Posts: 192
Joined: Thu May 11, 2006 1:46 pm
Location: The Netherlands

Post by rra »

That's interesting,
I can't confirm your statement because I only have
Vista at the moment.
I can try at work (windows XP) to see if I get the same result .

(I too am hoping that Xnview can show this information)


René

EDIT: question: how can you tell that the info is added to the EXIF information ??
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

klapperstorch wrote:I did some tests and found that the mentioned information ist stored inside the JPEG file. Just enter some information via the Microsoft file properties - fileinfo dialog and then look inside the JPEG file.
I've tried on Xp, but Microsoft file properties are not in the file :-( a XMP block is created but empty
Pierre.
User avatar
rra
Posts: 192
Joined: Thu May 11, 2006 1:46 pm
Location: The Netherlands

Post by rra »

Pierre,

the windows file-information is definitively in the file itself.
I tested this on windows XP (SP2)
, added 2 easy recognizable items (text-strings) to a JPG image using
the fileproperties-option of windowsXP (in the keywords tab and the comments tab)
After saving the file I looked at the first 1K bytes of the file
with a hexview programme,
and there they are visible as plane ASCII text,
just below the Exif information.
I am not sure whether they actually belong to the Exif information.

Rene
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Ok, i have it now, they have added own tag in exif
Pierre.
User avatar
rra
Posts: 192
Joined: Thu May 11, 2006 1:46 pm
Location: The Netherlands

Post by rra »

great Pierre,
do you happen to know whether this is also true
for file-properties added from within Vista ??


René
User avatar
klapperstorch
Posts: 50
Joined: Fri Jan 26, 2007 8:43 am

Post by klapperstorch »

xnview wrote:Ok, i have it now, they have added own tag in exif
I just browsed through the EXIF format specifications and found that there is a "UserComment" field which is (as it seems) the only field that has no character code limitations. Since the Microsoft file information is stored as 2-byte character code in the JPEG file, I assume that it is the UserComment field in which it is done.
The Exif IFD section seems to have a pointer to the start of the UserComment field. However, I got lost when I tried to locate this pointer. The EXIF format specifications documentation is too much confusing.
Regards, klapperstoch (cigogne claquante ?)
User avatar
klapperstorch
Posts: 50
Joined: Fri Jan 26, 2007 8:43 am

Post by klapperstorch »

xnview wrote:Ok, i have it now, they have added own tag in exif
Pierre, I found the program "exiftool" ( http://www.sno.phy.queensu.ca/~phil/exiftool/ ) which I can use for copying the EXIF:XPtitle field to IPTC:headline using the command:
exiftool -ext jpg . "-EXIF:XPtitle>IPTC:headline"
for all files in the current (.) folder. This helps for doing what we wanted, because now we can display the title in XnView slideshow.

Phil Harvey (the author of exiftool) provides on the webpage
http://www.sno.phy.queensu.ca/~phil/exi ... /EXIF.html
a list of all EXIF tags.
In this list the EXIF:XP-fields have the following IDs:
0x9c9b XPTitle
0x9c9c XPComment
0x9c9d XPAuthor
0x9c9e XPKeywords
0x9c9f XPSubject

Regards, klapperstorch
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

the 1.95 rc1 can extract these fields
Pierre.
User avatar
klapperstorch
Posts: 50
Joined: Fri Jan 26, 2007 8:43 am

Post by klapperstorch »

xnview wrote:the 1.95 rc1 can extract these fields
Merci beaucoup, Pierre.
That's exactly what we have hoped for.
To help you with the German translation:
XP-title is XP-Titel
XP-author is XP-Autor
XP-subject is XP-Betreff
XP-keywords is XP-Stichwörter
XP-comment is XP-Kommentar
(These are the field labels used by the German version of Windows XP.)
User avatar
rra
Posts: 192
Joined: Thu May 11, 2006 1:46 pm
Location: The Netherlands

Post by rra »

Many Thanks , or in Dutch: hartelijk bedankt !!


René
Post Reply