Hi, The photo databases stored on the Zire are just JPEG files broken up into records.
Looking at a raw binary dump of the .pdb file, at offset 0x78 into the .pdb, there's the start of a block of JPEG data: 'DBLK' <count> 44 42 4C 4B 00 00 10 00, which in this example means that the next 0x00001000 bytes are JPEG data. I think (haven't checked this yet) that each record in the database begins with 'DBLK' <count> and the remainder of the record is <count> bytes of JPEG-format data, in other words. Cutting and pasting just the data bytes into a new file and opening it in an image-viewing program on the desktop works (the new file opens and looks correct compared to the HotSynced version). HTH, Paulo Raffaelli --- Jacob Thurman <[EMAIL PROTECTED]> wrote: > Is the photos application data storage format > documented anywhere? I'd like > to write an application that would be able to use > photos taken with the > camera, preferably by sharing the database with the > builtin photos app. > Does anyone know where this structure is documented? > > Thanks, > -- > Jacob Thurman > > > > -- > For information on using the Palm Developer Forums, > or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
