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
joema

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

Microsoft Windows 10 Pro Insider Preview 64-bit
 
 

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
joema

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
logicearth

Windows 10 Pro (x64)
 
 

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

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

Microsoft Windows 10 Pro Insider Preview 64-bit
 
 

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
joema

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 Win7 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
logicearth

Windows 10 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
joema

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 Win7 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 Win7 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 Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Best way to run DOS programs (specifically WordPerfect) in Windows 7
The forum system suggested that as this related thread (http://www.sevenforums.com/software/297126-there-way-make-dos-program-work-windows-7-a.html) is 286 days old, that I should start anew. I have a friend who, like so many, has recently upgraded from Windows XP to Windows 7. She has a...
Software
BSOD Streaming Video and Installing Game (Specifically, Blizzard)
I began seeing a blue screen about 5 months ago when I first got my computer, and after posting here with one BSOD report, I was informed of the fact that Avast Virus scanning software could be the culprit. After uninstalling the software, I no longer received the problem. 5 months later, the...
BSOD Help and Support
BSOD Intermittently (Specifically when chrome is running)
Problem signature: Problem Event Name: BlueScreen OS Version: 6.1.7601.2.1.0.768.3 Locale ID: 1033 Additional information about the problem: BCCode: d1 BCP1: 000000000000002C BCP2: 0000000000000002 BCP3: 0000000000000001
BSOD Help and Support
How would i make a Video game? Specifically for Xbox 360
I would like to make video games (Indie), for people to enjoy. I have a very very basic knowledge in C++, and very very basic knowledge in java. And when i say basic, i mean just barely past the hello world. I am almost sure Xbox 360 games are made with C++/C, simply because they are both...
Gaming
FLAC Metadata?
Can FLAC hold metadata? As in Album Art, Artist, Album, Compositor etc. ? I just ripped all my Linkin Park CD-s and they sound beautiful in FLAC, much better than MP3, but I can't seem to add any metadata to my files... Is there any plugin/add-on for Media Player to be able to read/write the...
Music, Pictures & Video
What specifically is IKEEXT?
I have googled this process, and had found all results similar to IKE and AuthIP IPsec Keying Modules - Process and Service wiki This process (at start up only it seems) eats my cpu for a good minute after boot. I'm unsure as to what it's function is/does in 'noob' terms. I'm usually pretty good...
Performance & Maintenance


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 21:00.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App