jpeg の変更点   


* format [#ba8de689]


|    |MARKER(2)|        |          |       |       |            |
|SOI |FFD8(2)  |        |          |       |       |            |
|COM |         |FFFE(2) |13,size(2)|comment(11)|   |            |
|APP0|         |FFE0(2) |16,size(2)|JFIF(4)|(4)   |x(1),y(1),(6)|
|APP1|         |FFE1(2) |48,size(2)|Exif(4)|0000(2)|exifdata(40)|
|APPn|         |FFEn(2) |          |       |       |            |
|APPD|         |FFED(2) |          |       |       |            |
|DQT |         |FFDB(2) |67,size(2)|    (1)|   (64)|            |
|DHT |         |FFC4(2) |31,size(2)|   (29)|       |            |
|SOF0|         |FFC0(2) |17,size(2)|    (3)|height(2),width(2)|(8) |
|SOS |         |FFDA(2) |12,segment(2)|3,(1)0100,0211,0311(6)|003F00(3)||
|    |         |hufman(8)|||||
|EOI |FFD9(2)  |        |          |       |       |            |

* EXIF [#o39417ca]
|JPEGHeader|FFE1(2)|48,size(2)|payload(46)        |備考|
|EXIFHeader|       |          |457869660000(6)    ||
|----------|-------|          |↓ここからカウント ||
|TIFFHeader|       |          |49492A00(4)        |4949 はlittle endian |
|offset    |       |          |08000000(4)        |8固定|
|内容の数  |       |          |0200(2)            |N=2|
|----------|-------|          | |ここから12バイトがN回|
||タグ      |       |9B9C(2)            ||
||数値タイプ|       |0100(2)            ||
||数        |       |04000000(4)        |payloadサイズが計算できる|
||offset/payload|   |1A000000(4)        |上記のサイズが4バイト以下の場合はここにpayload|
||offset/payload|   |1A000000(4)        |4バイト以下の場合はここにpayload|
|----------|-------|          | ||
||タグ      |       |9B9C(2)            ||
||数値タイプ|       |0100(2)            ||
||数        |       |04000000(4)        ||
||offset/payload|   |1A000000(4)        ||
|----------|-------|          | ||

* info [#ubbdf875]
-しいしせねっと
 http://siisise.net/jpeg.html
- exif
 http://park2.wakwak.com/~tsuruzoh/Computer/Digicams/exif.html#ExifMarker

* tool [#v0eb4e41]
&attachref(jpeg_title.pm);
&attachref(make_thumb.pl);