View Single Post
Old 03-07-2012, 08:04 AM   #5
andyh2000
Fanatic
andyh2000 ought to be getting tired of karma fortunes by now.andyh2000 ought to be getting tired of karma fortunes by now.andyh2000 ought to be getting tired of karma fortunes by now.andyh2000 ought to be getting tired of karma fortunes by now.andyh2000 ought to be getting tired of karma fortunes by now.andyh2000 ought to be getting tired of karma fortunes by now.andyh2000 ought to be getting tired of karma fortunes by now.andyh2000 ought to be getting tired of karma fortunes by now.andyh2000 ought to be getting tired of karma fortunes by now.andyh2000 ought to be getting tired of karma fortunes by now.andyh2000 ought to be getting tired of karma fortunes by now.
 
andyh2000's Avatar
 
Posts: 561
Karma: 1568694
Join Date: Apr 2009
Location: UK
Device: Samsung Galaxy S4 Mini phone / Kindle 4 Black / Kindle Paperwhite
Quote:
Originally Posted by rfog View Post
Perhaps 'B' means "black" and we have some kind of color support in the future...
The 'B' in that code is telling Python to write unsigned bytes from an array, it's not part of what's written to the file.

Quote:
Originally Posted by mod186k1 View Post
the pen's ink is red not black
I wonder if the 0x00* at the end of each coordinate pair is a separater or whether it might indicate line colour or width, but I haven't tried changing it yet. Or maybe the four 0xFF bytes before each linestring are a header that might change with pen properties.

I suspect Ectaco have gone with the simplest implementation of scribbling they can get away with to begin with. Hopefully it will be improved in the future.

Andrew

Last edited by andyh2000; 03-07-2012 at 08:09 AM. Reason: *Correction from 0xFF to 0x00 as per mod186k1's msg below
andyh2000 is offline   Reply With Quote