Skip to content

Instantly share code, notes, and snippets.

Created December 14, 2010 16:02
Show Gist options
  • Save anonymous/740623 to your computer and use it in GitHub Desktop.
Save anonymous/740623 to your computer and use it in GitHub Desktop.
Detailed deconstruction of small (99K) Zoomify file
================================================================
3dpf_golb1.pff 100,944 bytes
================================================================
================================================================
(Unknown) 136 bytes
================================================================
[ 0000h ] (Unknown) 136 bytes
0000h: 00000000 00000000 0000006A 00000000 ...........j....
0010h: 00000000 00000000 3FC90FDB 00000000 ........?É.Û....
0020h: 40490FDB 00000000 BF800000 BF800000 @I.Û....¿€..¿€..
0030h: 00000000 3F800000 3F800000 00000000 ....?€..?€......
0040h: 00000000 00000000 00000000 00000000 ................
0050h: 00000000 00000000 00000000 00000000 ................
0060h: 00000000 00000000 00000000 00000100 ................
0070h: 00000000 00002B1C 00000001 00000011 ......+.........
0080h: FFE6DB2E DB0FC93F ÿæÛ.Û.É?
[ 0000h ] (0)
[ 0004h ] (0)
[ 0008h ] INT (106) (unknown - may be offset, INT16)
[ 000Ch ] (0)
[ 0010h ] (0)
[ 0014h ] (0)
[ 0018h ] FLOAT (PI/2)
[ 001Ch ] (0)
[ 0020h ] FLOAT (PI)
[ 0024h ] (0)
[ 0028h ] FLOAT (-1)
[ 002Ch ] FLOAT (-1)
[ 0030h ] (0)
[ 0034h ] FLOAT (1)
[ 0038h ] FLOAT (1)
[ 003Ch ] (0)
[ 0040h ] (0)
[ 0044h ] (0)
[ 0048h ] (0)
[ 004Ch ] (0)
[ 0050h ] (0)
[ 0054h ] (0)
[ 0058h ] (0)
[ 005Ch ] (0)
[ 0060h ] (0)
[ 0064h ] (0)
[ 0068h ] (0)
[ 006Ch ] INT (256) Tile size? Tile width?
[ 0070h ] (0)
[ 0074h ] INT (11,036) (unknown)
[ 0078h ] INT (1)
[ 007Ch ] INT (17) Number of tiles
[ 0080h ] ??? 0xFFE6DB2E (FLOAT PI/2 little-endian)
[ 0084h ] ??? 0xDB0FC93F (FLOAT 1e-10 little-endian 0.0000000001)
================================================================
Text blocks
================================================================
[ 88h ] 256 byte text block (unknown purpose)
[ 188h ] 256 byte text block (copyright)
[ 288h ] 256 byte text block (comments)
================================================================
(Unknown) 136 bytes
================================================================
0380h: 00000088 00000000 00000000 00000000 ...ˆ............
0390h: 00000001 00000001 00000000 00000000 ................
03A0h: 00000000 00000000 3F800000 3F3D766A ........?€..?=vj
03B0h: 3F800000 BF800000 3F3D766A 3F800000 ?€..¿€..?=vj?€..
03C0h: BF800000 BF3D766A 3F800000 3F800000 ¿€..¿=vj?€..?€..
03D0h: BF3D766A 3F800000 00000000 00000000 ¿=vj?€..........
03E0h: 00000000 00000000 00000000 00000000 ................
03F0h: 3F800000 00000000 3F800000 3F800000 ?€......?€..?€..
0400h: 00000000 3F800000 00000014 00000000 ....?€..........
[ 0388h ] INT (136) Length of this segment
[ 038Ch ] (0)
[ 0390h ] (0)
[ 0394h ] (0)
[ 0398h ] INT (1)
[ 039Ch ] INT (1)
[ 03A0h ] (0)
[ 03A4h ] (0)
[ 03A8h ] (0)
[ 03ACh ] (0)
[ 03B0h ] FLOAT (1)
[ 03B4h ] FLOAT (0.7400881)
[ 03B8h ] FLOAT (1)
[ 03BCh ] FLOAT (1)
[ 03C0h ] FLOAT (0.7400881)
[ 03C4h ] FLOAT (1)
[ 03C8h ] FLOAT (-1)
[ 03CCh ] FLOAT (-0.7400881)
[ 03D0h ] FLOAT (1)
[ 03D4h ] FLOAT (1)
[ 03D8h ] FLOAT (-0.7400881)
[ 03DCh ] FLOAT (1)
[ 03E0h ] (0)
[ 03E4h ] (0)
[ 03E8h ] (0)
[ 03ECh ] (0)
[ 03F0h ] (0)
[ 03F4h ] (0)
[ 03F8h ] FLOAT (1)
[ 03FCh ] (0)
[ 0400h ] FLOAT (1)
[ 0404h ] FLOAT (1)
[ 0408h ] (0)
[ 040Ch ] FLOAT (1)
================================================================
Image information
================================================================
[ 0410h ] INT (20) Length of this segment
[ 0414h ] INT64 (17) Number of tiles
[ 041Ch ] INT (908) Original image width
[ 0420h ] INT (672) Original image height
================================================================
JPEG Headers
================================================================
[ 424h ] INT (8) number of JPEG headers to follow
[ 428h ] INT (611) Length of JPEG Header 0
[ 42Ch ] 611 byte JPEG header (256x256px)
[ 68Fh ] INT (611) Length of JPEG Header 1
[ 693h ] 611 byte JPEG header (140x256px)
[ 8F6h ] INT (611) Length of JPEG Header 2
[ 8FAh ] 611 byte JPEG header (256x160px)
[ B5Dh ] INT (611) Length of JPEG Header 3
[ B61h ] 611 byte JPEG header (140x160px)
[ DC4h ] INT (611) Length of JPEG Header 4
[ DC8h ] 611 byte JPEG header (198x256px)
[ 102Bh ] INT (611) Length of JPEG Header 5
[ 102Fh ] 611 byte JPEG header (256x80px)
[ 1292h ] INT (611) Length of JPEG Header 6
[ 1296h ] 611 byte JPEG header (198x80px)
[ 14F9h ] INT (611) Length of JPEG Header 7
[ 14FDh ] 611 byte JPEG header (227x168px)
================================================================
Table of offsets
================================================================
[ 1760h ] 0x18A50 INT64 (100,994) tile offset; file size 16 Level 0, Tile 0
[ 1768h ] 0x172F8 INT64 ( 94,968) tile offset 15 Level 1, Tile 3
[ 1770h ] 0x16AE5 INT64 ( 92,901) tile offset 14 Level 1, Tile 2
[ 1778h ] 0x1654B INT64 ( 91,467) tile offset 13 Level 1, Tile 1
[ 1780h ] 0x14825 INT64 ( 84,005) tile offset 12 Level 1, Tile 0
[ 1788h ] 0x12934 INT64 ( 76,804) tile offset 11 Level 2, Tile 11
[ 1790h ] 0x11F5C INT64 ( 73,564) tile offset 10 Level 2, Tile 10
[ 1798h ] 0x10EC8 INT64 ( 69,320) tile offset 9 Level 2, Tile 9
[ 17A0h ] 0x10533 INT64 ( 66,867) tile offset 8 Level 2, Tile 8
[ 17A8h ] 0x0FCC9 INT64 ( 64,713) tile offset 7 Level 2, Tile 7
[ 17B0h ] 0x0E844 INT64 ( 59,460) tile offset 6 Level 2, Tile 6
[ 17B8h ] 0x0BF16 INT64 ( 48,918) tile offset 5 Level 2, Tile 5
[ 17C0h ] 0x09325 INT64 ( 37,669) tile offset 4 Level 2, Tile 4
[ 17C8h ] 0x07971 INT64 ( 31,089) tile offset 3 Level 2, Tile 3
[ 17D0h ] 0x06A87 INT64 ( 27,271) tile offset 2 Level 2, Tile 2
[ 17D8h ] 0x05220 INT64 ( 21,024) tile offset 1 Level 2, Tile 1
[ 17E0h ] 0x03CBC INT64 ( 15,548) tile offset 0 Level 2, Tile 0
================================================================
JPEG Tile Data (thumbnail or preview image)
================================================================
[ 17E8h ] 5,952 byte JPEG scan
[ 2F28h ] INT (24) Length of footer data
[ 2F2Ch ] INT (0) (unknown)
[ 2F30h ] INT (0) Level
[ 2F34h ] INT (0) Tile order within layer
[ 2F38h ] INT (5,952) Length of JPEG scan data
[ 2F3Ch ] INT (7) Corresponding JPEG header
================================================================
Table of offsets
================================================================
[ 2F40h ] 0x03CBC INT64 ( 15,548) tile offset 0
[ 2F48h ] 0x05220 INT64 ( 21,024) tile offset 1
[ 2F50h ] 0x06A87 INT64 ( 27,271) tile offset 2
[ 2F58h ] 0x07971 INT64 ( 31,089) tile offset 3
[ 2F60h ] 0x09325 INT64 ( 37,669) tile offset 4
[ 2F68h ] 0x0BF16 INT64 ( 48,918) tile offset 5
[ 2F70h ] 0x0E844 INT64 ( 59,460) tile offset 6
[ 2F78h ] 0x0FCC9 INT64 ( 64,713) tile offset 7
[ 2F80h ] 0x10533 INT64 ( 66,867) tile offset 8
[ 2F88h ] 0x10EC8 INT64 ( 69,320) tile offset 9
[ 2F90h ] 0x11F5C INT64 ( 73,564) tile offset 10
[ 2F98h ] 0x12934 INT64 ( 76,804) tile offset 11
[ 2FA0h ] 0x14825 INT64 ( 84,005) tile offset 12
[ 2FA8h ] 0x1654B INT64 ( 91,467) tile offset 13
[ 2FB0h ] 0x16AE5 INT64 ( 92,901) tile offset 14
[ 2FB8h ] 0x172F8 INT64 ( 94,968) tile offset 15
[ 2FC0h ] 0x18A50 INT64 (100,994) tile offset; file size 16
================================================================
JPEG Tile Data 0
================================================================
[ 2FC8h ] 3,292 byte JPEG scan
[ 3CA4h ] 24 byte footer
[ 3CA4h ] INT (24) Length of footer data
[ 3CA8h ] INT (0) (unknown)
[ 3CACh ] INT (2) Level
[ 3CB0h ] INT (0) Tile order within layer
[ 3CB4h ] INT (3,292) Length of JPEG scan data
[ 3CB8h ] INT (0) Corresponding JPEG header
================================================================
JPEG Tile Data 1
================================================================
[ 3CBCh ] 5,254 byte JPEG scan
[ 5208h ] INT (24) Length of footer data
[ 520Ch ] INT (0) (unknown)
[ 5210h ] INT (2) Level
[ 5214h ] INT (1) Tile order within layer
[ 5218h ] INT (5,254) Length of JPEG scan data
[ 521Ch ] INT (0) Corresponding JPEG header
================================================================
JPEG Tile Data 2
================================================================
[ 5220h ] 6,223 byte JPEG scan
[ 6A6Fh ] INT (24) Length of footer data
[ 6A73h ] INT (0) (unknown)
[ 6A77h ] INT (2) Level
[ 6A7Bh ] INT (2) Tile order within layer
[ 6A7Fh ] INT (6,223) Length of JPEG scan data
[ 6A83h ] INT (0) Corresponding JPEG header
================================================================
JPEG Tile Data 3
================================================================
[ 6A87h ] 3,794 byte JPEG scan
[ 7959h ] INT (24) Length of footer data
[ 795Dh ] INT (0) (unknown)
[ 7961h ] INT (2) Level
[ 7965h ] INT (3) Tile order within layer
[ 7969h ] INT (3,794) Length of JPEG scan data
[ 796Dh ] INT (1) Corresponding JPEG header
================================================================
JPEG Tile Data 4
================================================================
[ 7971h ] 6,556 byte JPEG scan
[ 930Dh ] INT (24) Length of footer data
[ 9311h ] INT (0) (unknown)
[ 9315h ] INT (2) Level
[ 9319h ] INT (4) Tile order within layer
[ 931Dh ] INT (6,556) Length of JPEG scan data
[ 9321h ] INT (0) Corresponding JPEG header
================================================================
JPEG Tile Data 5
================================================================
[ 9325h ] 11,225 byte JPEG scan
[ BEFEh ] INT (24) Length of footer data
[ BF02h ] INT (0) (unknown)
[ BF06h ] INT (2) Level
[ BF0Ah ] INT (5) Tile order within layer
[ BF0Eh ] INT (11,225) Length of JPEG scan data
[ BF12h ] INT (0) Corresponding JPEG header
================================================================
JPEG Tile Data 6
================================================================
[ BF16h ] 10,518 byte JPEG scan
[ E82Ch ] INT (24) Length of footer data
[ E830h ] INT (0) (unknown)
[ E834h ] INT (2) Level
[ E838h ] INT (6) Tile order within layer
[ E83Ch ] INT (10,518) Length of JPEG scan data
[ E840h ] INT (0) Corresponding JPEG header
================================================================
JPEG Tile Data 7
================================================================
[ E844h ] 5,229 byte JPEG scan
[ FCB1h ] INT (24) Length of footer data
[ FCB5h ] INT (0) (unknown)
[ FCB9h ] INT (2) Level
[ FCBDh ] INT (7) Tile order within layer
[ FCC1h ] INT (5,229) Length of JPEG scan data
[ FCC5h ] INT (1) Corresponding JPEG header
================================================================
JPEG Tile Data 8
================================================================
[ FCC9h ] 2,130 byte JPEG scan
[1051Bh ] INT (24) Length of footer data
[1051Fh ] INT (0) (unknown)
[10523h ] INT (2) Level
[10527h ] INT (8) Tile order within layer
[1052Bh ] INT (2,130) Length of JPEG scan data
[1052Fh ] INT (2) Corresponding JPEG header
================================================================
JPEG Tile Data 9
================================================================
[10533h ] 2,429 byte JPEG scan
[10EB0h ] INT (24) Length of footer data
[10EB4h ] INT (0) (unknown)
[10EB8h ] INT (2) Level
[10EBCh ] INT (9) Tile order within layer
[10EC0h ] INT (2,429) Length of JPEG scan data
[10EC4h ] INT (2) Corresponding JPEG header
================================================================
JPEG Tile Data 10
================================================================
[10EC8h ] 4,220 byte JPEG scan
[11F44h ] INT (24) Length of footer data
[11F48h ] INT (0) (unknown)
[11F4Ch ] INT (2) Level
[11F50h ] INT (10) Tile order within layer
[11F54h ] INT (4,220) Length of JPEG scan data
[11F58h ] INT (2) Corresponding JPEG header
================================================================
JPEG Tile Data 11
================================================================
[11F5Ch ] 2,496 byte JPEG scan
[1291Ch ] INT (24) Length of footer data
[12920h ] INT (0) (unknown)
[12924h ] INT (2) Level
[12928h ] INT (11) Tile order within layer
[1292Ch ] INT (2,496) Length of JPEG scan data
[12930h ] INT (3) Corresponding JPEG header
================================================================
JPEG Tile Data 12
================================================================
[12934h ] 7,897 byte JPEG scan
[1480Dh ] INT (24) Length of footer data
[14811h ] INT (0) (unknown)
[14815h ] INT (1) Level
[14819h ] INT (0) Tile order within layer
[1481Dh ] INT (7,897) Length of JPEG scan data
[14821h ] INT (0) Corresponding JPEG header
================================================================
JPEG Tile Data 13
================================================================
[14825h ] 7,438 byte JPEG scan
[16533h ] INT (24) Length of footer data
[16537h ] INT (0) (unknown)
[1653Bh ] INT (1) Level
[1653Fh ] INT (1) Tile order within layer
[16543h ] INT (7,438) Length of JPEG scan data
[16547h ] INT (4) Corresponding JPEG header
================================================================
JPEG Tile Data 14
================================================================
[1654Bh ] 1,410 byte JPEG scan
[16ACDh ] INT (24) Length of footer data
[16AD1h ] INT (0) (unknown)
[16AD5h ] INT (1) Level
[16AD9h ] INT (2) Tile order within layer
[16AD0h ] INT (1,410) Length of JPEG scan data
[16AE1h ] INT (5) Corresponding JPEG header
================================================================
JPEG Tile Data 15
================================================================
[16AE5 ] 2,043 byte JPEG scan
[172E0h ] INT (24) Length of footer data
[172E4h ] INT (0) (unknown)
[172E8h ] INT (1) Level
[172ECh ] INT (3) Tile order within layer
[172F0h ] INT (2,043) Length of JPEG scan data
[172F4h ] INT (6) Corresponding JPEG header
================================================================
JPEG Tile Data 16
================================================================
[172F8h ] 5,952 byte JPEG scan
[18A38h ] INT (24) Length of footer data
[18A3Ch ] INT (0) (unknown)
[18A40h ] INT (0) Level
[18A44h ] INT (0) Tile order within layer
[18A48h ] INT (5,952) Length of JPEG scan data
[18A4Ch ] INT (7) Corresponding JPEG header
================================================================
EOF
================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment