Set Comment: Which field in JPEG file?
Moderators: XnTriq, helmut, xnview
-
- Posts: 6
- Joined: Wed Oct 12, 2016 3:57 pm
Set Comment: Which field in JPEG file?
I apologize for this. I'm not a graphics programmer. I'm using "set comment" to add a description to scanned family photos so I can get rid of the hard copy. In what field within the jpeg file does this comment text go? I cannot find it with a metadata viewer. I asked a metadata expert for help and he found the text physically, but he too could not identify it as any specific metadata field. Can anyone tell me where physically "set comment" puts things in the jpeg file? Thanks. Bill Topp
-
- XnThusiast
- Posts: 3652
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Set Comment
A quick Google produces this result among others, is this the information you are looking for?wctopp wrote:I apologize for this. I'm not a graphics programmer. I'm using "set comment" to add a description to scanned family photos so I can get rid of the hard copy. In what field within the jpeg file does this comment text go? I cannot find it with a metadata viewer. I asked a metadata expert for help and he found the text physically, but he too could not identify it as any specific metadata field. Can anyone tell me where physically "set comment" puts things in the jpeg file? Thanks. Bill Topp
JPEG Syntax and structure - Wikipedia
-
- Posts: 6
- Joined: Wed Oct 12, 2016 3:57 pm
Re: Set Comment
So "set comment" puts text in "COM 0xFF, 0xFE variable size Comment Contains a text comment."? If the answer is "yes" thanks so much. I've asked two computer graphics programmers, an image analysis programmer, and a metadata expert this question and none could give me an answer. I'm tremendously grateful. What kind of program would show both the picture in the jpeg AND reveal the "COM" field?
-
- XnThusiast
- Posts: 3652
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Set Comment
I hope it is what you're looking for, never underestimate the power of a Google search!wctopp wrote:So "set comment" puts text in "COM 0xFF, 0xFE variable size Comment Contains a text comment."? If the answer is "yes" thanks so much. I've asked two computer graphics programmers, an image analysis programmer, and a metadata expert this question and none could give me an answer. I'm tremendously grateful.
I'd like to know that myself, I did see the capability in one of the web photo album creation programs a while back, possibly jalbum.net, but hopefully someone can name some photo viewers with the capability...wctopp wrote:What kind of program would show both the picture in the jpeg AND reveal the "COM" field?

-
- Posts: 6
- Joined: Wed Oct 12, 2016 3:57 pm
Re: Set Comment
On the latter, anyone have any suggestions?
-
- Moderator & Librarian
- Posts: 6183
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Set Comment
Welcome to the forum, Bill Topp 

XnView Classic:wctopp wrote:What kind of program would show both the picture in the jpeg AND reveal the "COM" field?
- Browser
- Tooltip
- Tools » Options... » Browser » Browser » [×] Show tooltips » Insert » Image » Comment
- Status bar
- Tools » Options... » Browser » Browser » Info in status bar » Comment
- View » [×] Status Bar
- Label
- Tools » Options... » Thumbnails » Thumbnail Label » Comment
- View » View As » Thumbnails & Labels
- Tooltip
- Viewer
- Status bar
- Tools » Options... » View » View » Info in status bar » Comment
- View » [×] Status Bar
- Title bar
- Tools » Options... » View » View » Title bar » Insert » Image » Comment
- Info
- Tools » Options... » Fullscreen » Fullscreen » [×] Show information » Insert » Image » Comment
- View » Show information
- Status bar
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=134685#p134685]Comment vs. Description[/url]) wrote:xnview ([url=http://newsgroup.xnview.com/viewtopic.php?p=100361#p100361]Description vs. Comment vs. ???[/url]) wrote:Description is saved in an external file descript.ion
Comment is embedded in the file (PNG & JPEG)
IPTC is perhaps more universal
- XnView Forum
- Wikipedia
- JPEG » Syntax and structure (Marker: COM)
- libpng.org
- PNG Specification, version 1.2 » Textual information (Chunk: tEXt | Keyword: Comment)
-
- Posts: 6
- Joined: Wed Oct 12, 2016 3:57 pm
Re: Set Comment
Under "Edit" I don't see an item "Metadata".
-
- XnThusiast
- Posts: 3652
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Set Comment
In XnView Classic in the file browser (not viewer) Edit > Metadata...wctopp wrote:Under "Edit" I don't see an item "Metadata".
In XnView MP in the file browser under Tools > Metadata...
My vision, though, is for an image viewer that will display a caption prominently below the image in the main image window, or something equivalent, rather than inconspicuously in the status bar or other part of the viewer window, or superimposed on the image...
-
- Posts: 6
- Joined: Wed Oct 12, 2016 3:57 pm
Re: Set Comment
XnView MP 0.82, not "Classic". Must have changed. Thanks so much for trying. I also can't figure out how to get the icon in the tray as you suggest.
-
- Moderator & Librarian
- Posts: 6183
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Set Comment
<--// Moderator's note: This topic has been moved from Classic to MP. //-->
-
- Posts: 98
- Joined: Thu Aug 18, 2016 4:09 am
Re: Set Comment
FREE Windows only FastStone is the best I have found to display a jpeg image AND it's Comment.
In FastStone, when in normal/browser view = View > Image Properties and choose the JPEG Comment tab; this sizable window can be moved around and will remain visible, displaying the Comment for each jpeg selected in the browser.
When you switch to Full Screen, mouse over to the right and the Comment will appear, plenty large enough for easy reading; mouse away and it will disappear.
XnView has one advantage over FastStone when it comes to writing these comments; FastStone can only write to a single image at a time; whereas, XnView can batch write to one or a thousand (or more).