View Single Post
Old 10-14-2008, 08:32 PM   #15
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by allovertheglobe View Post
It seems the scribble is stored as coordinates on the metadata.db
The scribble is a list of strokes and each stroke is a list of points. If I interpret the coordinates of each point as pixels on a 1024x1280 screen and connect them by straight lines, I get a good approximation for the two examples that I have seen so far.

Quote:
Originally Posted by allovertheglobe View Post
the PC companion replaces every straight line with a black rectangle of the same length but a fixed width,
From your example (thanks!), I could figure out where the width of each stroke is stored. The unit is probably again device pixels.

Quote:
Originally Posted by allovertheglobe View Post
not possible with image files which do not normally support layers (or vectors))
That's no excuse: the software could always draw on a bitmap of the image (cf. The Gimp, ImageMagick or Photoshop). It's not completely trivial to make joints and diagonal strokes look nice, but it's not rocket science either.

There are some more bytes that I could not interpret yet (one of them must be the color and there should also be zoom, offset and rotation information, but there's more). I would have to purchase a reader in order to experiment with the settings to decode more of them. Unfortunately, the german distributor is currently sold out.

Last edited by thomega; 10-14-2008 at 08:33 PM. Reason: spelling:(
thomega is offline   Reply With Quote