I have discovered the answer to this... for any interested party. Photo data is stored in a database with the header "PhotoDefaultDB-Foto." The names of the photos are stored in a database called "PhotoDefaultDBName-Foto_enUS." It is probably safe to assume that devices in other languages would rename that DB. Still working on deciphering it all, but that's the answer to the question below: -- Jacob Thurman
"Jacob Thurman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > This makes sense, but what about filenames? Where does it get Set20_01 > from? I suppose it could keep the "set" number as a global, and then the > _01 is the number of the record in the DB... Curious. > -- > Jacob Thurman > > "Paulo Raffaelli" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > 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/
