Daniel,

This reverse engineering of the file stream format works until the sequence 
0x44 0x42 0x4C 0x4B 0x00 0x00 is image data and not a file stream block 
marker.

In other words, this reverse engineeering of the file stream format isn't 
reliable...

Eric Lyons



"Daniel Brocco" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
It's strange the way Palm desktop  works.. sometimes it put the photos into 
"My Images" folder, sometimes not.
But it puts the photos in pdb format in other backup folder. Looking for a 
solution I opened the pdb photo and the foto in jpg format in a Hex editor 
and started compare... Then I found a way to convert them.

Converting that PDB file to JPG:

*If you use a hex editor you can see that the firsts bytes are the picture 
name in the photolib.

>From the start delete all bytes up to find the sequence:

0x44 0x42 0x4C 0x4B 0x00 0x00

delete all these bytes and delete the two next bytes too.

Now, all others bytes must be in the file, except some some sequences you'll 
find in the
middle..

Find again other sequences (equal)

0x44 0x42 0x4C 0x4B 0x00 0x00
and again delete the two next bytes.

Save the edited file with .jpg and you can see the image!!


Daniel 



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to