mirror of
https://github.com/wader/fq.git
synced 2024-12-26 15:02:28 +03:00
1b32b42f93
Generate more code More generic and comfortable API Improve and Update format decoder to new API Add some more format tests
30 lines
2.8 KiB
Plaintext
30 lines
2.8 KiB
Plaintext
# convert -size 4x4 "xc:#000" 4x4.webp
|
|
$ fq -d webp verbose /4x4.webp
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.: {} /4x4.webp (webp) 0x0-0x2b.7 (44)
|
|
0x00|52 49 46 46 |RIFF | riff_id: "RIFF" (valid) 0x0-0x3.7 (4)
|
|
0x00| 24 00 00 00 | $... | riff_length: 36 0x4-0x7.7 (4)
|
|
0x00| 57 45 42 50 | WEBP | webp_id: "WEBP" (valid) 0x8-0xb.7 (4)
|
|
| | | image: {} 0xc-0x2b.7 (32)
|
|
0x00| 56 50 38 20| VP8 | id: "VP8" 0xc-0xf.7 (4)
|
|
0x10|18 00 00 00 |.... | size: 24 0x10-0x13.7 (4)
|
|
| | | tag: {} 0x14-0x16.7 (3)
|
|
0x10| 30 | 0 | first_part_size0: 1 0x14-0x14.2 (0.3)
|
|
0x10| 30 | 0 | show_frame: 1 0x14.3-0x14.3 (0.1)
|
|
0x10| 30 | 0 | version: 0 0x14.4-0x14.6 (0.3)
|
|
0x10| 30 | 0 | frame_type: "key_frame" (false) 0x14.7-0x14.7 (0.1)
|
|
0x10| 01 00 | .. | first_part_size1: 1 0x15-0x16.7 (2)
|
|
| | | first_part_size: 9 0x17-NA (0)
|
|
| | | reconstruction: "Bicubic" 0x17-NA (0)
|
|
| | | loop: "Normal" 0x17-NA (0)
|
|
0x10| 9d 01 2a | ..* | start_code: 0x9d012a (valid) 0x17-0x19.7 (3)
|
|
0x10| 04 | . | width0: 4 0x1a-0x1a.7 (1)
|
|
0x10| 00 | . | horizontal_scale: 0 0x1b-0x1b.1 (0.2)
|
|
0x10| 00 | . | width1: 0 0x1b.2-0x1b.7 (0.6)
|
|
| | | width: 4 0x1c-NA (0)
|
|
0x10| 04 | . | height0: 4 0x1c-0x1c.7 (1)
|
|
0x10| 00 | . | vertical_scale: 0 0x1d-0x1d.1 (0.2)
|
|
0x10| 00 | . | height1: 0 0x1d.2-0x1d.7 (0.6)
|
|
| | | height: 4 0x1e-NA (0)
|
|
0x10| 02 00| ..| data: raw bits 0x1e-0x2b.7 (14)
|
|
0x20|34 25 a4 00 03 70 00 fe fb fd 50 00| |4%...p....P.| |
|