1
The Corel Draw file format, follows the following general structure:
3
1> Data in Little Endian order
5
"01 00 00 00" = decimal 1
6
"10 00 00 00" = decimal 16
7
"00 01 00 00" = decimal 256
9
2> The file is a tree of chunks
13
--------------------------------
15
4 | Chunk size (little endian cardinal)
16
--------------------------------
18
--------------------------------
20
3.1> LIST CHUNK STRUCTURE
22
--------------------------------
23
4 | Chunk identifier. Always "LIST"
26
--------------------------------
28
--------------------------------
30
3.2> <DISP> CHUNK STURCTURE
32
--------------------------------
34
4 | Chunk size (little endian)
36
--------------------------------
37
4 | Header size. Usual value is 40
38
4 | Image width in pixels.
39
4 | Image height in pixels.
40
2 | Color plane value. Usual value is 1.
42
4 | Compression. Usually 0, preview is not compressed.
44
4 | Image width in pixels/metre.
45
4 | Image height in pixels/metre.
47
4 | Number of used colors.
48
--------------------------------
49
Chunk body (RGB byte array)
50
--------------------------------
54
Folii color representation
55
<fild> CHUNK STRUCTURE
56
--------------------------------
58
4 | Chunk size (little endian)
59
--------------------------------
60
4 | Unique fill identifier
62
1 | Color type (0x02-CMYK; 0x05-RGB
64
4 | Color fied (CMYK, BGR)
65
--------------------------------
67
--------------------------------