|
|
#1 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 529
Karma: 1135968
Join Date: Apr 2009
Location: UK
Device: Sony Xperia Mini phone / Kindle 4 Black
|
jetBook Color scribble file format
Code:
from io import FileIO
from array import array
of=FileIO('1', 'w')
# Header
of.write(array('B', [0x0c, 0x04, 0x40, 0x06]))
# New linestring - each new linestring starts with this
of.write(array('B', [0xff, 0xff, 0xff, 0xff, 0x00]))
# 1st coord pair - loX, hiX, loY, hiY, 0x00
of.write(array('B', [0xae, 0x04, 0x00, 0x00, 0x00]))
# 2nd coord pair - loX, hiX, loY, hiY, 0x00
of.write(array('B', [0x00, 0x00, 0x32, 0x06, 0x00]))
# You can have as many coordinate pairs as you like in a linestring (>=2)
# Next linestring would start with [0xff, 0xff, 0xff, 0xff, 0x00] again
of.close()
|
|
|
|
|
|
#2 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 256666
Join Date: May 2008
Location: Italy
Device: iLiad, PRS-650, Jetbook Color
|
I reached the same conclutions.
![]() Next I could try to reopen jCrossSketch project and bulid an ad-hoc plugin. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 382
Karma: 1942
Join Date: Aug 2007
Location: Elda - Alicante (Spain)
Device: PB903, K2, K3, K2i, KDX,KDXG,Nook,DR1000S, Boox6, iPad, Q1U, X51v, TM2
|
Perhaps 'B' means "black" and we have some kind of color support in the future...
|
|
|
|
|
|
#4 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 256666
Join Date: May 2008
Location: Italy
Device: iLiad, PRS-650, Jetbook Color
|
the pen's ink is red not black
|
|
|
|
|
|
#5 | |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 529
Karma: 1135968
Join Date: Apr 2009
Location: UK
Device: Sony Xperia Mini phone / Kindle 4 Black
|
Quote:
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 |
|
|
|
|
|
|
#6 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 256666
Join Date: May 2008
Location: Italy
Device: iLiad, PRS-650, Jetbook Color
|
not 0xff, probably you mean 0x00
|
|
|
|
|
|
#7 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 529
Karma: 1135968
Join Date: Apr 2009
Location: UK
Device: Sony Xperia Mini phone / Kindle 4 Black
|
|
|
|
|
|
|
#8 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 382
Karma: 1942
Join Date: Aug 2007
Location: Elda - Alicante (Spain)
Device: PB903, K2, K3, K2i, KDX,KDXG,Nook,DR1000S, Boox6, iPad, Q1U, X51v, TM2
|
Quote:
|
|
|
|
|
|
|
#9 |
|
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,158
Karma: 9023682
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, Jetbook Mini, Jetbook Color, Astak Ez Reader Pro
|
Usually color would be written like this (FF,00,00). You need at least 3 or 4 indicators for color (4 in case of a 4 pixels screen).
The way I see it, [0x0c, 0x04, 0x40, 0x06] would never be pure red, with all other pixels black. At best it would darken other pixels to a near black and 40 is red half open. But more likely those indicators are indicating another thing than color. It would be logical if they where R,G,B,W, in which case the line would be blue. Illogical to start from blue; in which case black would be 0x00 for all 4 'variables' (if that's what they are), or it's nearest possible outcome (0x02 or 0x04). That'd be my estimation. I see no other possible indication of color. It'd be nice if you could also create a horizontal and a vertical line, and show the outcome.
__________________
--------------------------------- BOOO! ks. I read Internet instead of books. |
|
|
|
|
|
#10 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 529
Karma: 1135968
Join Date: Apr 2009
Location: UK
Device: Sony Xperia Mini phone / Kindle 4 Black
|
I've just noticed [0x40, 0x06] is 1600 in decimal (least significant byte first) which is the vertical resolution of the screen. Might be coincidence though as [0x0c, 0x04] is definitely not 1200 (it's 1036).
Andrew |
|
|
|
|
|
#11 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 144
Karma: 1310
Join Date: Dec 2009
Device: kindle DX Graphite, jetbook Color
|
I haven't had the time to play with my color, let alone update the firmware ( will prolly do during Spring break)
how are scribbles saved when you write on a PDf? a file per page? might be possible to find an open source PDF editor, add code to insert scribbles inside PDF itself |
|
|
|
|
|
#12 | |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 529
Karma: 1135968
Join Date: Apr 2009
Location: UK
Device: Sony Xperia Mini phone / Kindle 4 Black
|
Quote:
Andrew |
|
|
|
|
|
|
#13 |
|
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,158
Karma: 9023682
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, Jetbook Mini, Jetbook Color, Astak Ez Reader Pro
|
I'm wondering if the color for the vectors isn't adjustable in some configuration / ini file?
Have you been able to access the operating system via your computer connecting to the USB port? If you can access the Jetbook's OS files, you might be able to find some setting or config files. I think there's the place to start looking for changing the color!
__________________
--------------------------------- BOOO! ks. I read Internet instead of books. |
|
|
|
|
|
#14 | |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 529
Karma: 1135968
Join Date: Apr 2009
Location: UK
Device: Sony Xperia Mini phone / Kindle 4 Black
|
Quote:
Andrew |
|
|
|
|
|
|
#15 | ||
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 144
Karma: 1310
Join Date: Dec 2009
Device: kindle DX Graphite, jetbook Color
|
Quote:
firmwares / os-update *.bin isn't the default WinCE 6.0 .bin system... trying to force autorun executibles via 2577 folder on the SD card doesn't work... only few things left is to open the device up and use JTAG, or find a way to decrypt the firmware updates Quote:
Last edited by paperwastage; 03-07-2012 at 06:07 PM. |
||
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Color New to the JetBook world..intrested in buying JetBook Color | PF4Mobile | Ectaco jetBook | 95 | 02-24-2012 05:09 PM |
| Color eInk. Jetbook Color Available for Pre Order | X read X | News | 37 | 12-09-2011 01:57 PM |
| Nook Color file format questions... | sagiquarion | Nook Color & Nook Tablet | 0 | 03-19-2011 03:43 PM |
| DR100OS Scribble Format? | thomega | iRex | 35 | 01-22-2009 05:39 PM |