1
1
mirror of https://github.com/wader/fq.git synced 2024-12-26 15:02:28 +03:00
fq/format/tiff/testdata/4x4.fqtest
2021-09-12 13:08:49 +02:00

127 lines
13 KiB
Plaintext

# gm convert -size 4x4 'xc:#000' 4x4.tiff
/4x4.tiff:
$ fq -d tiff verbose /4x4.tiff
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f| |.: {} /4x4.tiff (tiff) 0x0-0x107.7 (264)
0x000|49 49 |II | order: "II" 0x0-0x1.7 (2)
0x000|49 49 2a 00 |II*. | endian: little-endian (0x49492a00) 0x0-0x3.7 (4)
0x000| 2a 00 | *. | integer_42: 10752 0x2-0x3.7 (2)
0x000| 0c 00 00 00 | .... | first_ifd: 12 0x4-0x7.7 (4)
| | | strips: [1] 0x8-0xb.7 (4)
0x000| f0 f0 f0 f0 | .... | [0]: strip f0f0f0f0 0x8-0xb.7 (4)
| | | ifds: [1] 0xc-0x107.7 (252)
| | | [0]: ifd {} 0xc-0x107.7 (252)
0x000| 0e 00 | .. | number_of_field: 14 0xc-0xd.7 (2)
| | | entries: [14] 0xe-0x107.7 (250)
| | | [0]: entry {} 0xe-0x19.7 (12)
0x000| 00 01| ..| tag: ImageWidth (0x100) 0xe-0xf.7 (2)
0x010|03 00 |.. | type: SHORT (3) 0x10-0x11.7 (2)
0x010| 01 00 00 00 | .... | count: 1 0x12-0x15.7 (4)
0x010| 04 00 00 00 | .... | value_offset: 4 0x16-0x19.7 (4)
| | | values: [1] 0x16-0x17.7 (2)
0x010| 04 00 | .. | [0]: value 4 0x16-0x17.7 (2)
| | | [1]: entry {} 0x1a-0x25.7 (12)
0x010| 01 01 | .. | tag: ImageLength (0x101) 0x1a-0x1b.7 (2)
0x010| 03 00 | .. | type: SHORT (3) 0x1c-0x1d.7 (2)
0x010| 01 00| ..| count: 1 0x1e-0x21.7 (4)
0x020|00 00 |.. |
0x020| 04 00 00 00 | .... | value_offset: 4 0x22-0x25.7 (4)
| | | values: [1] 0x22-0x23.7 (2)
0x020| 04 00 | .. | [0]: value 4 0x22-0x23.7 (2)
| | | [2]: entry {} 0x26-0x31.7 (12)
0x020| 02 01 | .. | tag: BitsPerSample (0x102) 0x26-0x27.7 (2)
0x020| 03 00 | .. | type: SHORT (3) 0x28-0x29.7 (2)
0x020| 01 00 00 00 | .... | count: 1 0x2a-0x2d.7 (4)
0x020| 01 00| ..| value_offset: 1 0x2e-0x31.7 (4)
0x030|00 00 |.. |
| | | values: [1] 0x2e-0x2f.7 (2)
0x020| 01 00| ..| [0]: value 1 0x2e-0x2f.7 (2)
| | | [3]: entry {} 0x32-0x3d.7 (12)
0x030| 03 01 | .. | tag: Compression (0x103) 0x32-0x33.7 (2)
0x030| 03 00 | .. | type: SHORT (3) 0x34-0x35.7 (2)
0x030| 01 00 00 00 | .... | count: 1 0x36-0x39.7 (4)
0x030| 01 00 00 00 | .... | value_offset: 1 0x3a-0x3d.7 (4)
| | | values: [1] 0x3a-0x3b.7 (2)
0x030| 01 00 | .. | [0]: value 1 0x3a-0x3b.7 (2)
| | | [4]: entry {} 0x3e-0x49.7 (12)
0x030| 06 01| ..| tag: PhotometricInterpretation (0x106) 0x3e-0x3f.7 (2)
0x040|03 00 |.. | type: SHORT (3) 0x40-0x41.7 (2)
0x040| 01 00 00 00 | .... | count: 1 0x42-0x45.7 (4)
0x040| 00 00 00 00 | .... | value_offset: 0 0x46-0x49.7 (4)
| | | values: [1] 0x46-0x47.7 (2)
0x040| 00 00 | .. | [0]: value 0 0x46-0x47.7 (2)
| | | [5]: entry {} 0x4a-0xc2.7 (121)
0x040| 0d 01 | .. | tag: DocumentName (0x10d) 0x4a-0x4b.7 (2)
0x040| 02 00 | .. | type: ASCII (2) 0x4c-0x4d.7 (2)
0x040| 09 00| ..| count: 9 0x4e-0x51.7 (4)
0x050|00 00 |.. |
0x050| ba 00 00 00 | .... | value_offset: 186 0x52-0x55.7 (4)
| | | values: [1] 0xba-0xc2.7 (9)
0x0b0| 34 78 34 2e 74 69| 4x4.ti| [0]: value "4x4.tiff\x00" 0xba-0xc2.7 (9)
0x0c0|66 66 00 |ff. |
| | | [6]: entry {} 0x56-0x61.7 (12)
0x050| 11 01 | .. | tag: StripOffsets (0x111) 0x56-0x57.7 (2)
0x050| 04 00 | .. | type: LONG (4) 0x58-0x59.7 (2)
0x050| 01 00 00 00 | .... | count: 1 0x5a-0x5d.7 (4)
0x050| 08 00| ..| value_offset: 8 0x5e-0x61.7 (4)
0x060|00 00 |.. |
| | | values: [1] 0x5e-0x61.7 (4)
0x050| 08 00| ..| [0]: value 8 0x5e-0x61.7 (4)
0x060|00 00 |.. |
| | | [7]: entry {} 0x62-0x6d.7 (12)
0x060| 15 01 | .. | tag: SamplesPerPixel (0x115) 0x62-0x63.7 (2)
0x060| 03 00 | .. | type: SHORT (3) 0x64-0x65.7 (2)
0x060| 01 00 00 00 | .... | count: 1 0x66-0x69.7 (4)
0x060| 01 00 00 00 | .... | value_offset: 1 0x6a-0x6d.7 (4)
| | | values: [1] 0x6a-0x6b.7 (2)
0x060| 01 00 | .. | [0]: value 1 0x6a-0x6b.7 (2)
| | | [8]: entry {} 0x6e-0x79.7 (12)
0x060| 16 01| ..| tag: RowsPerStrip (0x116) 0x6e-0x6f.7 (2)
0x070|03 00 |.. | type: SHORT (3) 0x70-0x71.7 (2)
0x070| 01 00 00 00 | .... | count: 1 0x72-0x75.7 (4)
0x070| 04 00 00 00 | .... | value_offset: 4 0x76-0x79.7 (4)
| | | values: [1] 0x76-0x77.7 (2)
0x070| 04 00 | .. | [0]: value 4 0x76-0x77.7 (2)
| | | [9]: entry {} 0x7a-0x85.7 (12)
0x070| 17 01 | .. | tag: StripByteCounts (0x117) 0x7a-0x7b.7 (2)
0x070| 04 00 | .. | type: LONG (4) 0x7c-0x7d.7 (2)
0x070| 01 00| ..| count: 1 0x7e-0x81.7 (4)
0x080|00 00 |.. |
0x080| 04 00 00 00 | .... | value_offset: 4 0x82-0x85.7 (4)
| | | values: [1] 0x82-0x85.7 (4)
0x080| 04 00 00 00 | .... | [0]: value 4 0x82-0x85.7 (4)
| | | [10]: entry {} 0x86-0x91.7 (12)
0x080| 1c 01 | .. | tag: PlanarConfiguration (0x11c) 0x86-0x87.7 (2)
0x080| 03 00 | .. | type: SHORT (3) 0x88-0x89.7 (2)
0x080| 01 00 00 00 | .... | count: 1 0x8a-0x8d.7 (4)
0x080| 01 00| ..| value_offset: 1 0x8e-0x91.7 (4)
0x090|00 00 |.. |
| | | values: [1] 0x8e-0x8f.7 (2)
0x080| 01 00| ..| [0]: value 1 0x8e-0x8f.7 (2)
| | | [11]: entry {} 0x92-0x9d.7 (12)
0x090| 29 01 | ). | tag: PageNumber (0x129) 0x92-0x93.7 (2)
0x090| 03 00 | .. | type: SHORT (3) 0x94-0x95.7 (2)
0x090| 02 00 00 00 | .... | count: 2 0x96-0x99.7 (4)
0x090| 00 00 01 00 | .... | value_offset: 65536 0x9a-0x9d.7 (4)
| | | values: [2] 0x9a-0x9d.7 (4)
0x090| 00 00 | .. | [0]: value 0 0x9a-0x9b.7 (2)
0x090| 01 00 | .. | [1]: value 1 0x9c-0x9d.7 (2)
| | | [12]: entry {} 0x9e-0x107.7 (106)
0x090| 31 01| 1.| tag: Software (0x131) 0x9e-0x9f.7 (2)
0x0a0|02 00 |.. | type: ASCII (2) 0xa0-0xa1.7 (2)
0x0a0| 44 00 00 00 | D... | count: 68 0xa2-0xa5.7 (4)
0x0a0| c4 00 00 00 | .... | value_offset: 196 0xa6-0xa9.7 (4)
| | | values: [1] 0xc4-0x107.7 (68)
0x0c0| 47 72 61 70 68 69 63 73 4d 61 67 69| GraphicsMagi| [0]: value "GraphicsMagick 1.3.35 2020-02-23 Q16 http://www.Gr"... 0xc4-0x107.7 (68)
0x0d0|63 6b 20 31 2e 33 2e 33 35 20 32 30 32 30 2d 30|ck 1.3.35 2020-0|
* |until 0x107.7 (end) (68) | |
| | | [13]: entry {} 0xaa-0xb5.7 (12)
0x0a0| 53 01 | S. | tag: SampleFormat (0x153) 0xaa-0xab.7 (2)
0x0a0| 03 00 | .. | type: SHORT (3) 0xac-0xad.7 (2)
0x0a0| 01 00| ..| count: 1 0xae-0xb1.7 (4)
0x0b0|00 00 |.. |
0x0b0| 01 00 00 00 | .... | value_offset: 1 0xb2-0xb5.7 (4)
| | | values: [1] 0xb2-0xb3.7 (2)
0x0b0| 01 00 | .. | [0]: value 1 0xb2-0xb3.7 (2)
0x0b0| 00 00 00 00 | .... | next_ifd: 0 0xb6-0xb9.7 (4)
0x0c0| 00 | . | unknown0: 00 0xc3-0xc3.7 (1)