+-------------------------------------------------------------+
| tag & length | length | image_id | image_data |
| 6 , 0x3f | | | |
+-------------------------------------------------------------+
<-- 2 bytes --> <- 4 bytes -> <-2 bytes-> <-contents 残り全部->
<------------------ length ---->
+---------------------------------------------------+
| tag & length | length | encoding_tables |
| 8 0x3f | | |
+---------------------------------------------------+
<-- 2 bytes --> <- 4 bytes ->
<------ length ------>
+-----------------------------------------+------------------------------+
| tag & length | length | image_id | encoding_tables | image_data |
| 21 , 0x3f | | | |
+------------------------------------------------------------------------+
<-- 2 bytes --> <- 4 bytes -> <-2 bytes-> <--- contents 残り全部 --->
<---------------- length ---------------->
+---------------------------------------------------------------
| tag & length | length | image_id | offset_to_alpha | ..
| 35 , 0x3f | | | |
+---------------------------------------------------------------
<-- 2 bytes --> <- 4 bytes -> <-2 bytes-> <-- 4 bytes -->
<--- length (最後まで) ---
---+------------------------------+-------------------+
.. | encoding_tables | image_data | alpha(zlib圧縮) |
---+------------------------------+-------------------+
<-- offse_to_alpha --> <-contents 残り全部->
deblock_param は 2 byte
+---------------------------------------------------------------
| tag & length | length | image_id | offset_to_alpha | ..
| 90 , 0x3f | | | |
+---------------------------------------------------------------
<-- 2 bytes --> <- 4 bytes -> <-2 bytes-> <-- 4 bytes -->
<--- length (最後まで) ---
---+-------------+-----------------+------------+-------------------+
.. |deblock_param| encoding_tables | image_data | alpha(zlib圧縮) |
---+-------------+-----------------+------------+-------------------+
<- 2 bytes -> <-contents 残り全部->
<------------ offset_to_alpha ------------->