diff options
author | obrien <obrien@FreeBSD.org> | 2001-04-25 07:41:21 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-04-25 07:41:21 +0000 |
commit | 30980cd72da9ade33a9b331e58e75660d180a109 (patch) | |
tree | 000ebc599c417e0830db5f66711d1e99a3edfdcb /contrib/file/Magdir/jpeg | |
parent | fd87285c4e3e4e4fbf7112229c209a1c6ea64494 (diff) | |
download | FreeBSD-src-30980cd72da9ade33a9b331e58e75660d180a109.zip FreeBSD-src-30980cd72da9ade33a9b331e58e75660d180a109.tar.gz |
Virgin import of Christos Zoulas's FILE 3.35.
Diffstat (limited to 'contrib/file/Magdir/jpeg')
-rw-r--r-- | contrib/file/Magdir/jpeg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/file/Magdir/jpeg b/contrib/file/Magdir/jpeg index e8540f8..f18a39e 100644 --- a/contrib/file/Magdir/jpeg +++ b/contrib/file/Magdir/jpeg @@ -10,6 +10,7 @@ # 0 beshort 0xffd8 JPEG image data >6 string JFIF \b, JFIF standard +>6 string Exif \b, EXIF standard # The following added by Erik Rossen <rossen@freesurf.ch> 1999-09-06 # in a vain attempt to add image size reporting for JFIF. Note that these # tests are not fool-proof since some perfectly valid JPEGs are currently @@ -21,8 +22,6 @@ >13 byte 0 \b, aspect ratio >13 byte 1 \b, resolution (DPI) >13 byte 2 \b, resolution (DPCM) ->14 beshort x \b, %d x ->16 beshort x \b %d #>4 beshort x \b, segment length %d # Next, show thumbnail info, if it exists: >18 byte !0 \b, thumbnail %dx @@ -55,6 +54,8 @@ # I've commented-out quantisation table reporting. I doubt anyone cares yet. #>(4.S+5) byte 0xDB \b, quantisation table #>>(4.S+6) beshort x \b length=%d +>14 beshort x \b, %d x +>16 beshort x \b %d # HSI is Handmade Software's proprietary JPEG encoding scheme 0 string hsi1 JPEG image data, HSI proprietary |