Hi Phil ....
I've got hold of the spec.....
Each tag has a 10-byte footer, including the 4-byte signature (A1 B2 C3 D4). When you find the signature, the 4
bytes before it give the length of the tag (including footer); the 2 bytes before that are the
tag type.
Tag types are IPTC (type 1), image info (type 2), thumbnail jpg (3) and preview jpg (4)
The image info, which includes crop, is as follows:
(Motorola byte order is used)
PPL 4 bytes, Pixel Per Line
NOL 4 bytes, Number Of Lines
SEPS 4 bytes, Separations 1,3 or 4
RES 4 bytes, 1000 * pix/inch
ROTATE 4 bytes, angle (0-360) * 100
SOFTCROP VALID 4 bytes, 0x11 0x22 0x22 0x11
XSTART 4 bytes, % of PPL * 1000
YSTART 4 bytes, % of NOL * 1000
XEND 4 bytes, % of PPL * 1000
YEND 4 bytes, % of NOL * 1000
Hope this helps.... I will download your BETA later and have a play ....
Thanks
(5)
]
