jpegview
jpegview copied to clipboard
JpegView does not show the Exif information completely.
JpegView does not show the Exif information completely. For example, they commented of the current temperature is not shown. Could you have to fix it? Thanks.

I plopped this into Google Translate... and yes, not all EXIF is showing at the moment. It only shows a few basic things that are crucial in the EXIF display box. I'll see if it's easy to add or configure this as an option
Hi Sylikc, glad to get your reply and see that you're continuously making development on this project.
Actually, my original request is to see whether it's possible to use JPEGView to show picture and its corresponding comment. If the comment is a url link, I can use some script to get the url and open it with browser. This is really very useful when the user wants to check the picture source.
My current solution is, expose the current picture's fullpath on the title bar, then use some AHK script to get the full path and use other tool to read the comment. It works but not very direct.
So if you can help to implement this feature, i.e., expose the current picture's comment so that 3rd party script can read this comment, it would be highly appreciated. Please kindly note that if the comment is showing using current style,like OSD for VLC, it would be impossible for AHK to read the comments. If possible, please try to output the exif information to a temporary file if the user turns on the output option in the config file. Thanks.
@valuex can you give me a sample image where the exif comment isn't showing properly. I went through the code, and in theory, it should display the UserComment field in EXIF...
As for copying and dumping exif to a file, I maintain a Python project PyExifTool which allows you to do this pretty easily. It's well documented and pretty easy to use. I, myself, use a UserCmd# in JPEGView to do advanced reads of the EXIF for fields which JPEGView doesn't parse.
Sorry for late reply. The file is as attached.
I am not familar with C++. But I think it's related to the definition of comment. In C#, the comment on the properties page is got by SystemProperties.System.Comment, not the XPComment
using Microsoft.WindowsAPICodePack.Shell;
using Microsoft.WindowsAPICodePack.Shell.PropertySystem;
//get commment from image file
var so = ShellObject.FromParsingName(FilePath);
var _usercomment = so.Properties.GetProperty(SystemProperties.System.Comment);
string usercommentValue = _usercomment.ValueAsObject.ToString();

@sylikc
I would also like to add some questions. The EXIF information is not fully obtained. How many seconds or milliseconds of EXIF information can be obtained by other image viewing software. I need these parameters as the image name. I hope it can be improved. Thank you.

@huaqic adding more detailed exif is currently backlog behind some other issues... I would suggest doing renames using exiftool which has very detailed parsing of exif
I've identified the XPComment tag that is used, and found it in IFD0, but i'm not sure how to decode the UCS2 decoding that Windows uses... so I'm putting this in backlog for now
@sylikc Thank you for your reply! I am looking forward to solving this problem one day.