CDP file format¶
CDP files contain a header (CD-Index mark) and records.
CDP header¶
Field |
Format |
Length |
Description |
Mark |
"CDP" |
3 |
Always equal to "CDP" for CDP files |
Version |
byte |
1 |
Right now the only possible value is 0x01 |
CDP record¶
Field |
Format |
Length |
Description |
Offset |
long int |
4 |
Offset of the record in CDI file |
Width |
short |
2 |
The width of the image |
Height |
short |
2 |
The height of the image |
Creator |
string |
64 |
The name of software or camera, that produced the image |
Author |
string |
64 |
The name of the author |
Created |
date |
4 |
The time when the picture was created |
Latitude |
float |
4 |
The GPS latitude |
Longitude |
float |
4 |
The GPS longitude |