Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to search jpg metadata, specifically comments?


04 May 2010   #1

Windows 7 Home Premium 64 bit
 
 
How to search jpg metadata, specifically comments?

I have thousands of .jpg images which also have metadata in the .jpg header. One of these metadata fields is "comments", e.g. "My dog spot when he was 2 yrs old".

Is there any way Windows Search can search jpg metadata, specifically the comments field? I've tried it but can't make it work. Is there some trick using Advanced Query Syntax?

My System SpecsSystem Spec
.

04 May 2010   #2
Arc

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium 64 Bit SP 1
 
 

Open the explorer window where the jpeg image is situated. slelct the image so that it displays in the details pane. You can see the comments field there. Just as the attached image


Attached Thumbnails
How to search jpg metadata, specifically comments?-capture.jpg  
My System SpecsSystem Spec
04 May 2010   #3

Windows 7 Home Premium 64 bit
 
 

Thanks, the .jpg comments are already present and viewable in Explorer if Organize | Layout | Details is enabled.

My question is how to *search* through many photos for already-existing comments.

The various file metadata attributes (inc'l comments) can be seen in Details pane. Those attributes (inc'l comments) can also appear in a column if you right-click on the column and select that attribute.

Those same attributes can be searched. E.g, using Advanced Query Syntax: Type:JPEG, or SIZE:424kb.

However you cannot apparently search for .jpg comments. This is illogical as it's unstructured text just like any other text document which Windows Search handles.

Is there some special technique or query syntax needed to search the comments field of .jpg files?
My System SpecsSystem Spec
.


04 May 2010   #4

Windows 8.1 Pro (x64)
 
 

did you try "comments:something" ?
My System SpecsSystem Spec
04 May 2010   #5

Windows 7 Home Premium 64 bit
 
 

Yes I tried all combinations using the "Comments" keyword: delimited and non-delimited arguments, leading and trailing wildcards, search terms at beginning of comment field, etc. Nothing works.

Also dropped and rebuilt indexes, verified .jpg file suffix selected in index advance properties, verified "contents and data" selected for that suffix, etc.
My System SpecsSystem Spec
04 May 2010   #6
Arc

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium 64 Bit SP 1
 
 

Once I used a trial of Adobe Photoshop Album Starter Edition. It can arrange picture library, sort them on the basis of metadata, and arrange them accordingly. You may have a try, but this is not free. Alternatively, Acdsee or Picassa may do the job.
My System SpecsSystem Spec
06 May 2010   #7

Windows 7 Home Premium 64 bit
 
 

I tried Irfanview 4.25, FastStone 4.2, and Scott's JPEG Commenter ver 1.2. None work for .jpg comments entered by the Windows 7 Explorer.

IOW JPEG comments entered by Windows 7 Explorer aren't visible to these utilities, and comments entered by them aren't visible to Explorer.

Picasa 3.6.0 nor Photoshop Elements 7 show the comments, either.

I don't have earlier Windows versions to test, but maybe it has existed on Vista or even XP. There is apparently some incompatibility. Windows is using unicode or a special offset in the JPEG header or something which is incompatible with all the 3rd-party utilities I've tested so far.

This is fairly serious: all JPEG comment data entered in Windows is inaccessible to all or most JPEG/EXIF utilities, and vice-versa. Also Windows apparently cannot search JPEG comments. This means you should essentially never use Windows to enter JPEG comments.

My goal is to use the existing JPEG header for comments, not use some 3rd party tool which stores data in a "sidecar" file. Using a utility is OK if there was a common, reliable way whereby both Windows and the utility could read/write JPEG comment data in a mutually-compatible fashion.

I can't believe I'm the first person to encounter this. There must be some obvious, simple solution.
My System SpecsSystem Spec
06 May 2010   #8

Windows 8.1 Pro (x64)
 
 

Looking over EXIF/IPTC there is nothing that says "Comments" I'm going to assume the "Comments" shown by explorer is a file property.
My System SpecsSystem Spec
06 May 2010   #9

Windows 7 Home Premium 64 bit
 
 

"Comments" are a JPEG header item. There's a 0xFFFE comment marker in the header, followed by a 2-byte length field. Comments are unformatted free text.

The confusion comes from Windows *also* calling textual photo descriptions "comments", which are stored in the JPEG header but different from JPEG comments.

I've found there are significant problems with using Windows 7 Explorer (also likely Vista or XP) to enter JPEG comments.

(1) The JPEG comments read/written by Explorer in Windows XP, Vista or 7 are different from the normal JPEG comments typically accessed by other utilities. Comments written by Windows are typically not readable by other utilities, and vice-versa.

The confusion stems from both being called "comments", and Windows displaying those alongside other JPEG header fields -- which implies they are JPEG comments. In fact they are Windows comments, stored in the JPEG header but distinct from JPEG comments.

(2) Windows "JPEG" comments are not searchable by Windows 7 search. Since they aren't typically accessible by 3rd-party utilities, this effectively means you can't search on photo comments entered by Windows Explorer. It's really a deplorable situation.

There is one command-line utility ExifTool that can read & update both jpeg and "XP" comments entered by Windows Explorer: ExifTool by Phil Harvey

Provided you know all this, the solution is simple: just don't use Windows Explorer to add JPEG comments, and don't use Windows Search -- use a 3rd party utility to enter/search the JPEG comments. You also must always remember those comments won't show up in Explorer -- the comments field will just be blank from the Windows standpoint.
My System SpecsSystem Spec
Reply

 How to search jpg metadata, specifically comments?




Thread Tools



Similar help and support threads for: How to search jpg metadata, specifically comments?
Thread Forum
Search Metadata of Recorded Content Media Center
BSOD Streaming Video and Installing Game (Specifically, Blizzard) BSOD Help and Support
Solved BSOD Intermittently (Specifically when chrome is running) BSOD Help and Support
Can't see metadata comments Customization
How would i make a Video game? Specifically for Xbox 360 Gaming
What specifically is IKEEXT? Performance & Maintenance
Combining active networks (specifically names) Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:53 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33