Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > Ectaco jetBook

Notices

Reply
 
Thread Tools Search this Thread
Old 03-20-2012, 04:32 PM   #46
mod186k1
Addict
mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.
 
mod186k1's Avatar
 
Posts: 233
Karma: 256666
Join Date: May 2008
Location: Italy
Device: iLiad, PRS-650, Jetbook Color
How to export JBC scribble using jCrossSketch

Quote:
Originally Posted by andyh2000 View Post
Would you mind giving some simple step by step instructions how to get a PDF and the matching jetBook Color scribbles merged into a 3rd file (a new PDF or jaj file)? I'm getting lost somewhere in amongst jCrossSketch and Jarnal, scribble files, PDFs and jaj files.

Andrew
here you are a video tutorial:

part 1 - create your scribble (ok, you all know it)

http://youtu.be/-ffIFNO0rNw

part 2: Use jCrossSketch v.0.6 and convert!!!

http://youtu.be/McEs3c0N6Iw


Changelog of the version 0.6
* Release 0.6 beta
* Jbc: sorting pages correctly according scrible filenames.
* Jbc: changing the load method: select document (PDF) on your JBC
insted of hidden folder
* Jaj: fix class: now is compatible with newer version of Jarnal

Last edited by mod186k1; 03-25-2012 at 09:55 AM.
mod186k1 is offline   Reply With Quote
Old 03-20-2012, 06:00 PM   #47
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
ProDigit's Avatar
 
Posts: 2,157
Karma: 9023682
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, Jetbook Mini, Jetbook Color, Astak Ez Reader Pro
^^- Basically how to save your scribble to your PDF file, am I correct?
ProDigit is offline   Reply With Quote
Old 03-21-2012, 04:13 AM   #48
mod186k1
Addict
mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.
 
mod186k1's Avatar
 
Posts: 233
Karma: 256666
Join Date: May 2008
Location: Italy
Device: iLiad, PRS-650, Jetbook Color
Yes, if you wish you can export JAJ to a new PDF using Jarnal as I done in the last part in the second video.
You can also export it into HTML but I don't tried it yet.

Or if, for examaple, you have a frind that has your PDF and you want give him only your notes, you can even give him only the JAJ.

The process is reversible even do at the present moment don't work perfectly: you can modify scribble on PC with Jarnal and convert it for you JBC

Last edited by mod186k1; 03-21-2012 at 04:26 AM.
mod186k1 is offline   Reply With Quote
Old 03-22-2012, 11:41 AM   #49
mod186k1
Addict
mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.
 
mod186k1's Avatar
 
Posts: 233
Karma: 256666
Join Date: May 2008
Location: Italy
Device: iLiad, PRS-650, Jetbook Color
Someone here has tried jCrossSketch v.0.6 as in my video?
mod186k1 is offline   Reply With Quote
Old 03-22-2012, 01:36 PM   #50
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 mod186k1 View Post
Someone here has tried jCrossSketch v.0.6 as in my video?
Yeah, I've finally got it to work. I think I was going wrong by using jarnal.cmd where I should have been using jarnalannotate.cmd. I still don't really know the difference between the two.

Andrew
andyh2000 is offline   Reply With Quote
Old 03-22-2012, 02:18 PM   #51
mod186k1
Addict
mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.
 
mod186k1's Avatar
 
Posts: 233
Karma: 256666
Join Date: May 2008
Location: Italy
Device: iLiad, PRS-650, Jetbook Color
There are 2 difference:

Jarnal.cmd:
Code:
  -Xmx192m -t templates/default.jaj
Jarnalannotate.cmd:
Code:
 -Xmx256m -t templates/annotate.jaj -b
difference:
  • the "-Xmx***" switch: it's a JRE switch to reserve memory: jarnalannotate has more memory assigned that Jarnal.cmd
  • template - use of different template (square line, single line, plain paper etc.)
  • the "-b" switch - open the file (if you give it as argument) as Background.

You have to check two things:

1) check that exists the file "default.jaj" under the folder "templates" in your Jarnal directory.
2) edit the jarnal.cmd and give more memory replacing "-Xmx192m" in "-Xmx256m"

Also you can use jarnalannotate.cmd: it is the same for what we need
mod186k1 is offline   Reply With Quote
Old 09-05-2012, 11:11 AM   #52
read365
Enthusiast
read365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to behold
 
Posts: 30
Karma: 11938
Join Date: May 2011
Location: Daegu, Korea(South)
Device: pocketbook pro 902, Jetbook Color 1
jCrossSketch compile error

Hi, i'm using debian KDE desktop and i installed java 7(oracle version)
$ cd jCrossSketch
$ mkdir bin
$ make all
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=lcd -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKL ookAndFeel
javac 1.7.0_03
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=lcd -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKL ookAndFeel
src/sfilter/Irx.java:14: error: package org.jdom does not exist
import org.jdom.Attribute;
^
src/sfilter/Irx.java:15: error: package org.jdom does not exist
import org.jdom.Document;
^
src/sfilter/Irx.java:16: error: package org.jdom does not exist
import org.jdom.Element;
^
src/sfilter/Irx.java:17: error: package org.jdom does not exist
import org.jdom.Namespace;
^
src/sfilter/Irx.java:18: error: package org.jdom.input does not exist
import org.jdom.input.SAXBuilder;
^
src/sfilter/Irx.java:19: error: package org.jdom.output does not exist
import org.jdom.output.XMLOutputter;
^
src/sfilter/Irx.java:196: error: cannot find symbol
private String[] loadIrxPage(Element page)
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:244: error: cannot find symbol
private Element makeJDomFromPage(int pag_no,String[] template) {
^
symbol: class Element
location: class Irx
src/sfilter/Jaj.java:19: error: package org.jdom does not exist
import org.jdom.Document;
^
src/sfilter/Jaj.java:20: error: package org.jdom does not exist
import org.jdom.Element;
^
src/sfilter/Jaj.java:21: error: package org.jdom does not exist
import org.jdom.JDOMException;
^
src/sfilter/Jaj.java:22: error: package org.jdom does not exist
import org.jdom.Namespace;
^
src/sfilter/Jaj.java:23: error: package org.jdom.input does not exist
import org.jdom.input.SAXBuilder;
^
src/sfilter/Svg.java:14: error: package org.jdom does not exist
import org.jdom.Attribute;
^
src/sfilter/Svg.java:15: error: package org.jdom does not exist
import org.jdom.Document;
^
src/sfilter/Svg.java:16: error: package org.jdom does not exist
import org.jdom.Element;
^
src/sfilter/Svg.java:17: error: package org.jdom does not exist
import org.jdom.JDOMException;
^
src/sfilter/Svg.java:18: error: package org.jdom does not exist
import org.jdom.Namespace;
^
src/sfilter/Svg.java:19: error: package org.jdom.input does not exist
import org.jdom.input.SAXBuilder;
^
src/sfilter/Svg.java:20: error: package org.jdom.output does not exist
import org.jdom.output.Format;
^
src/sfilter/Svg.java:21: error: package org.jdom.output does not exist
import org.jdom.output.XMLOutputter;
^
src/sfilter/Jaj.java:61: error: cannot find symbol
private Element eJaj;
^
symbol: class Element
location: class Jaj
src/sfilter/Jaj.java:219: error: cannot find symbol
throws JDOMException, IOException
^
symbol: class JDOMException
location: class Jaj
src/sfilter/Svg.java:97: error: cannot find symbol
protected Element loadSvgPage(InputStream in)
^
symbol: class Element
location: class Svg
src/sfilter/Svg.java:98: error: cannot find symbol
throws JDOMException, IOException
^
symbol: class JDOMException
location: class Svg
src/sfilter/Svg.java:161: error: cannot find symbol
protected void makeJDomFromPage(Element root) {
^
symbol: class Element
location: class Svg
src/sfilter/Svg.java:198: error: cannot find symbol
protected void writeJDom(OutputStream out,Element root) throws IOException {
^
symbol: class Element
location: class Svg
src/SortScribble.java:5: error: package org.jdom does not exist
import org.jdom.Document;
^
src/SortScribble.java:6: error: package org.jdom does not exist
import org.jdom.Element;
^
src/SortScribble.java:7: error: package org.jdom does not exist
import org.jdom.Namespace;
^
src/SortScribble.java:8: error: package org.jdom.input does not exist
import org.jdom.input.SAXBuilder;
^
src/SortScribble.java:9: error: package org.jdom.output does not exist
import org.jdom.output.XMLOutputter;
^
src/sfilter/Irx.java:69: error: cannot find symbol
SAXBuilder builder = new SAXBuilder();
^
symbol: class SAXBuilder
location: class Irx
src/sfilter/Irx.java:69: error: cannot find symbol
SAXBuilder builder = new SAXBuilder();
^
symbol: class SAXBuilder
location: class Irx
src/sfilter/Irx.java:71: error: cannot find symbol
Document svg = builder.build(in);
^
symbol: class Document
location: class Irx
src/sfilter/Irx.java:72: error: cannot find symbol
Element root = svg.getRootElement();
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:73: error: cannot find symbol
Namespace ns = root.getNamespace();
^
symbol: class Namespace
location: class Irx
src/sfilter/Irx.java:74: error: cannot find symbol
Element pages = root.getChild("pages",ns);
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:78: error: cannot find symbol
Element page = (Element) iter.next();
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:78: error: cannot find symbol
Element page = (Element) iter.next();
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:99: error: cannot find symbol
Element el;
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:100: error: cannot find symbol
Element root = new Element("notes");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:100: error: cannot find symbol
Element root = new Element("notes");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:102: error: cannot find symbol
Element version = new Element("version");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:102: error: cannot find symbol
Element version = new Element("version");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:103: error: cannot find symbol
el = new Element("number");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:106: error: cannot find symbol
el = new Element("organization");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:111: error: cannot find symbol
Element screen = new Element("screen");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:111: error: cannot find symbol
Element screen = new Element("screen");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:112: error: cannot find symbol
el = new Element("units");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:114: error: cannot find symbol
el = new Element("dpi");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:118: error: cannot find symbol
Element pages = new Element("pages");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:118: error: cannot find symbol
Element pages = new Element("pages");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:128: error: cannot find symbol
Document doc = new Document(root);
^
symbol: class Document
location: class Irx
src/sfilter/Irx.java:128: error: cannot find symbol
Document doc = new Document(root);
^
symbol: class Document
location: class Irx
src/sfilter/Irx.java:129: error: cannot find symbol
XMLOutputter serializer = new XMLOutputter();
^
symbol: class XMLOutputter
location: class Irx
src/sfilter/Irx.java:129: error: cannot find symbol
XMLOutputter serializer = new XMLOutputter();
^
symbol: class XMLOutputter
location: class Irx
src/sfilter/Irx.java:165: error: cannot find symbol
SAXBuilder builder = new SAXBuilder();
^
symbol: class SAXBuilder
location: class Irx
src/sfilter/Irx.java:165: error: cannot find symbol
SAXBuilder builder = new SAXBuilder();
^
symbol: class SAXBuilder
location: class Irx
src/sfilter/Irx.java:167: error: cannot find symbol
Document svg = builder.build(in);
^
symbol: class Document
location: class Irx
src/sfilter/Irx.java:168: error: cannot find symbol
Element root = svg.getRootElement();
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:169: error: cannot find symbol
Namespace ns = root.getNamespace();
^
symbol: class Namespace
location: class Irx
src/sfilter/Irx.java:170: error: cannot find symbol
Element version = root.getChild("version",ns);
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:171: error: cannot find symbol
Element number = version.getChild("number",ns);
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:173: error: cannot find symbol
Element pages = root.getChild("pages",ns);
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:176: error: cannot find symbol
Element page = (Element) iter.next();
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:176: error: cannot find symbol
Element page = (Element) iter.next();
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:204: error: cannot find symbol
Namespace ns = page.getNamespace();
^
symbol: class Namespace
location: class Irx
src/sfilter/Irx.java:212: error: cannot find symbol
Element strokes = page.getChild("strokes",ns);
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:215: error: cannot find symbol
Element stroke = (Element) iter.next();
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:215: error: cannot find symbol
Element stroke = (Element) iter.next();
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:216: error: cannot find symbol
Attribute zoom = stroke.getAttribute("zoom");
^
symbol: class Attribute
location: class Irx
src/sfilter/Irx.java:245: error: cannot find symbol
Element page = null;
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:252: error: cannot find symbol
page = new Element("page");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:255: error: cannot find symbol
Element el = new Element("orientation");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:255: error: cannot find symbol
Element el = new Element("orientation");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:257: error: cannot find symbol
el = new Element("height");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:259: error: cannot find symbol
el = new Element("width");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:261: error: cannot find symbol
Element strokes = new Element("strokes");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:261: error: cannot find symbol
Element strokes = new Element("strokes");
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:263: error: cannot find symbol
Element stroke = null;
^
symbol: class Element
location: class Irx
src/sfilter/Irx.java:271: error: cannot find symbol
stroke = new Element("stroke");
^
symbol: class Element
location: class Irx
src/sfilter/Svg.java:75: error: cannot find symbol
Element root = new Element("svg");
^
symbol: class Element
location: class Svg
src/sfilter/Svg.java:75: error: cannot find symbol
Element root = new Element("svg");
^
symbol: class Element
location: class Svg
src/sfilter/Svg.java:104: error: cannot find symbol
SAXBuilder builder = new SAXBuilder();
^
symbol: class SAXBuilder
location: class Svg
src/sfilter/Svg.java:104: error: cannot find symbol
SAXBuilder builder = new SAXBuilder();
^
symbol: class SAXBuilder
location: class Svg
src/sfilter/Svg.java:106: error: cannot find symbol
Document svg = builder.build(in);
^
symbol: class Document
location: class Svg
src/sfilter/Svg.java:107: error: cannot find symbol
Element root = svg.getRootElement();
^
symbol: class Element
location: class Svg
src/sfilter/Svg.java:108: error: cannot find symbol
Namespace ns = root.getNamespace();
^
symbol: class Namespace
location: class Svg
src/sfilter/Svg.java:110: error: cannot find symbol
Attribute a;
^
symbol: class Attribute
location: class Svg
src/sfilter/Svg.java:125: error: cannot find symbol
Element path = (Element) iter.next();
^
symbol: class Element
location: class Svg
src/sfilter/Svg.java:125: error: cannot find symbol
Element path = (Element) iter.next();
^
symbol: class Element
location: class Svg
src/sfilter/Svg.java:126: error: cannot find symbol
Attribute d = path.getAttribute("d");
^
symbol: class Attribute
location: class Svg
src/sfilter/Svg.java:162: error: cannot find symbol
Element ePath;
^
symbol: class Element
location: class Svg
src/sfilter/Svg.java:168: error: cannot find symbol
ePath = new Element("path");
^
symbol: class Element
location: class Svg
src/sfilter/Svg.java:189: error: cannot find symbol
ePath = new Element("path");
^
symbol: class Element
location: class Svg
src/sfilter/Svg.java:199: error: cannot find symbol
Document doc = new Document(root);
^
symbol: class Document
location: class Svg
src/sfilter/Svg.java:199: error: cannot find symbol
Document doc = new Document(root);
^
symbol: class Document
location: class Svg
src/sfilter/Svg.java:200: error: cannot find symbol
XMLOutputter serializer = new XMLOutputter();
^
symbol: class XMLOutputter
location: class Svg
src/sfilter/Svg.java:200: error: cannot find symbol
XMLOutputter serializer = new XMLOutputter();
^
symbol: class XMLOutputter
location: class Svg
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
make: *** [class] Error 1
Am I wrong for compiling???
read365 is offline   Reply With Quote
Old 09-06-2012, 09:34 AM   #53
mod186k1
Addict
mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.mod186k1 ought to be getting tired of karma fortunes by now.
 
mod186k1's Avatar
 
Posts: 233
Karma: 256666
Join Date: May 2008
Location: Italy
Device: iLiad, PRS-650, Jetbook Color
You will need jdom.jar to compile it (jdom is not a project of mine).

For compile the program you can do:
Code:
cd jCrossSketch
wget http://www.jdom.org/dist/binary/archive/jdom-1.1.3.zip
unzip jdom-1.1.3.zip jdom/build/jdom-1.1.3.jar
mkdir ext_libs
mv jdom/build/jdom-1.1.3.jar ext_libs/jdom.jar
rm -r jdom jdom*zip
make all
You'll have:
  • jCrossSketch-0.6-bin.zip
  • jCrossSketch-0.6-doc.zip
  • jCrossSketch-0.6-src.zip

You can also download directly the binary of jCrossSketch using sourceforge:
http://sourceforge.net/projects/jcro.../files/binary/
mod186k1 is offline   Reply With Quote
Old 09-06-2012, 10:58 AM   #54
read365
Enthusiast
read365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to behold
 
Posts: 30
Karma: 11938
Join Date: May 2011
Location: Daegu, Korea(South)
Device: pocketbook pro 902, Jetbook Color 1
Thanks, mod186k1
read365 is offline   Reply With Quote
Old 03-18-2013, 05:19 AM   #55
read365
Enthusiast
read365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to beholdread365 is a marvel to behold
 
Posts: 30
Karma: 11938
Join Date: May 2011
Location: Daegu, Korea(South)
Device: pocketbook pro 902, Jetbook Color 1
Quote:
Originally Posted by andyh2000 View Post

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()
Andrew
I have a question.
What is loX, hiX means?

Would you explain that coordinate?
I can't understand it.
read365 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 01:59 PM.


MobileRead.com is a privately owned, operated and funded community.