Is it possible to view IPTC data in a hex-viewer?

情到浓时终转凉″ 提交于 2019-12-11 10:12:01

问题


I have been trying to examine a JPEG file, known to contain IPTC data, but could notice no strings whatsoever. I tried the well known UNIX strings command, ASCII, 8-bit, 16-bit Unicode --- to no avail: I could not see any strings that I expect to find in IPTC fields.

My question is: How is IPTC data encoded? Is it encrypted? Compressed? Other? Why can't it be viewed using the strings command?


回答1:


The most probable reason why you cannot view IPTC data using a hex viewer is because it has no IPTC data.

An image that contains IPTC data like this one:

http://regex.info/exif.cgi?dummy=on&imgurl=https%3A%2F%2Fwww.iptc.org%2Fstd%2Fphotometadata%2Fexamples%2FIPTC-PhotometadataRef-Std2014_large.jpg

has an XML structure and text fields that are view-able through a text editor like Emacs (8-bit, not even Unicode).



来源:https://stackoverflow.com/questions/35120262/is-it-possible-to-view-iptc-data-in-a-hex-viewer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!