|
I didn't even know that FotoStation did this until now. Usually I have to
rely on reverse engineering to determine the format of information like this.
I just downloaded a trial version of Fotostation, and it looks like the crop information
is in the last 46 bytes of the trailer (this 46-byte block begins and ends with the byte
sequence a1 b2 c3 d4).
Just doing a bit of quick testing, here is what I found:
offset 00: start signature (a1 b2 c3 d4)
offset 04: image width
offset 08: image height
offset 0c: ? (00 00 00 03)
offset 10: ? (but changes with crop area)
offset 14: counterclockwise rotation angle * 100 deg
offset 18: ? (11 22 22 11)
offset 1c: top crop coordinate in inches
offset 20: left crop coordinate in inches
offset 24: right crop coordinate in inches
offset 28: bottom crop coordinate in inches
offset 2c: ? (00 00 00 00)
offset 30: ? (00 00 00 00)
offset 34: ? (00 02)
offset 36: ? (00 00)
offset 38: ? (00 3a)
offset 3a: end signature (a1 b2 c3 d4)
- Phil
|