Strictly speaking, the JFIF and Exif standards are incompatible because they each specify that their marker segment (APP0 or APP1, respectively) appears first. In practice, most JPEG files contain a JFIF marker segment that precedes the Exif header. This allows older readers to correctly handle the older format JFIF segment, while newer readers also decode the following Exif segment, being less strict about requiring it to appear first.
这不仅取决于EXIF-iself,还取决于文件类型。在
我假设您对JPEG文件感兴趣,所以看一下wikipedia page我看到以下段落:
因此,至少对于JPEG文件,您可能会找到一些图像,其中Exif头不出现在文件的开头。在
相关问题 更多 >
编程相关推荐