0.0
.ptf
Type | Description |
---|---|
"Header" | File header |
"Data" | Image data |
Type | Value | Description |
---|---|---|
char[3] | {'P', 'T', 'F'} | Header magic |
u8 | 0 | Major version |
u8 | Header info byte | Flags and resolution |
Bit (Listed from LSB to MSB) | Value | Description |
---|---|---|
1-4 | – | Resolution |
5 | – | Has alpha |
6-8 | 0 | Reserved |
Type | Description |
---|---|
Compressed {"RGB pixel"|"RGBA pixel"}[0...] | Compressed pixels |
Type | Description |
---|---|
u8[3] | RGB |
Type | Description |
---|---|
u8[4] | RGBA |