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

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 08-12-2018, 10:16 AM   #1
alansingfield
Junior Member
alansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enough
 
Posts: 6
Karma: 658
Join Date: Aug 2018
Device: Boox Note
Wink Knote custom templates (noteTemplate)

I thought I would share some of my experiences with creating custom noteTemplate .png files - it's tricker than I first thought.

I'm after two main styles:
  • Graph paper with 2cm outer grid, 1cm inner grid, 2mm tiny grid.
  • Lined writing paper with margin (like you had in school).

First attempt was to find an online PNG graph generator, generate a graph and copy it to noteTemplates. I set the output size to exactly 1404px wide by 1872px high.

The result was awful! About every 5th or 6th line was missing or narrower than it should be. However, pressing the full-screen button made it look perfect.

So - I can conclude from this that it does a destructive scaling of the image in the view with the toolbar / menubar, then shows at native resolution when you do full screen.

Next challenge was to find out WHICH pixel rows and columns get missed out. Time to get out the software development tools

I created a PNG a little bit like those ones that inkjet printers do to find a blocked nozzle, and loaded that into noteTemplates.

After a lot of counting and fiddling around with Excel, I found that about every 16th/17th pixel gets missed out.

So then I could create a graph drawing program that will look at each line it is going to draw, compare to the list of "dead" pixels - if it is a dead one then shift back or forwards by 1px.

Loaded up into noteTemplate and we have a nice set of clean backgrounds that look good in normal edit or full screen!
alansingfield is offline   Reply With Quote
Old 08-12-2018, 10:18 AM   #2
alansingfield
Junior Member
alansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enough
 
Posts: 6
Karma: 658
Join Date: Aug 2018
Device: Boox Note
Here are the templates

Attached.
Attached Thumbnails
Click image for larger version

Name:	Feint.png
Views:	96
Size:	10.3 KB
ID:	165534   Click image for larger version

Name:	FeintWithMargin.png
Views:	94
Size:	14.8 KB
ID:	165535   Click image for larger version

Name:	Medium.png
Views:	85
Size:	10.3 KB
ID:	165536   Click image for larger version

Name:	MediumWithMargin.png
Views:	90
Size:	14.7 KB
ID:	165537   Click image for larger version

Name:	GraphPaper.png
Views:	140
Size:	119.4 KB
ID:	165538  
alansingfield is offline   Reply With Quote
Old 08-12-2018, 10:30 AM   #3
alansingfield
Junior Member
alansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enough
 
Posts: 6
Karma: 658
Join Date: Aug 2018
Device: Boox Note
Source code at https://github.com/alansingfield/Boo...PaperGenerator
alansingfield is offline   Reply With Quote
Old 08-12-2018, 10:50 AM   #4
scoot.at
FlapJack
scoot.at began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Nov 2014
Location: Highland
Device: Kindle Paperwhite 3, Kindle Touch, Kindle Keyboard, Onyx Boox Note
Hey alansingfield. Thanks for the useful info. I was also wondering how to create a new template. Such a question arise, how can I put the templates my Note? Is there any specific folder which I can load the template? Thank you.
scoot.at is offline   Reply With Quote
Old 08-12-2018, 02:18 PM   #5
alansingfield
Junior Member
alansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enough
 
Posts: 6
Karma: 658
Join Date: Aug 2018
Device: Boox Note
Yes, it's really easy - they go into the noteTemplate folder. This was only introduced in the recent 1.9.0 update so if you can't find the folder you need to upgrade!
alansingfield is offline   Reply With Quote
Old 08-12-2018, 03:50 PM   #6
scoot.at
FlapJack
scoot.at began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Nov 2014
Location: Highland
Device: Kindle Paperwhite 3, Kindle Touch, Kindle Keyboard, Onyx Boox Note
alansingfield Thank you so much for your help! I am trying right now.
scoot.at is offline   Reply With Quote
Old 08-16-2018, 03:30 PM   #7
Jayjee
Connoisseur
Jayjee began at the beginning.
 
Posts: 58
Karma: 12
Join Date: May 2016
Device: Onyx Boox Max 2
Quote:
Originally Posted by alansingfield View Post
Hi alansingfield,

how complicated is describing how to make a template with your sourcecode? I am no newbie, but no expert programmer and have never dealt with csproj /MSbuild. If it requires too many explanations, just let it be and I would fully understand.
I am interested in creating several templates for musical scores...

Anyhow, thanks for the templates you provided (and the source code)...

/Jan
Jayjee is offline   Reply With Quote
Old 08-21-2018, 06:04 AM   #8
alansingfield
Junior Member
alansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enough
 
Posts: 6
Karma: 658
Join Date: Aug 2018
Device: Boox Note
CSPROJ etc.

Jayjee,

you could get hold of Visual Studio Community Edition perhaps?

Probably the most useful part of the code is the list of "dud" X and Y positions, you could scrap the rest if you're coding in another language.

Good luck!

Alan.
alansingfield is offline   Reply With Quote
Old 09-03-2018, 12:07 PM   #9
whopper
Addict
whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'
 
Posts: 219
Karma: 10094
Join Date: Mar 2008
Location: Europe
Device: Boox max 2
any way to do those for the max 2 resolution?
whopper is offline   Reply With Quote
Old 09-03-2018, 03:50 PM   #10
alansingfield
Junior Member
alansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enoughalansingfield will become famous soon enough
 
Posts: 6
Karma: 658
Join Date: Aug 2018
Device: Boox Note
Max2 resolution

I don't own one of them myself, so I'd be unable to tell if it works properly or not. It was quite a bit of trial-and-error to find the "missing" lines so not easily done without the device in front of me.
alansingfield is offline   Reply With Quote
Old 09-03-2018, 07:20 PM   #11
whopper
Addict
whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'whopper knows the difference between 'who' and 'whom'
 
Posts: 219
Karma: 10094
Join Date: Mar 2008
Location: Europe
Device: Boox max 2
Quote:
Originally Posted by alansingfield View Post
I don't own one of them myself, so I'd be unable to tell if it works properly or not. It was quite a bit of trial-and-error to find the "missing" lines so not easily done without the device in front of me.
thanks, i'll do that then, trial and error until I find it.
whopper 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
Custom Templates on Max2 / Note ChristianM Onyx Boox 5 01-07-2018 09:42 PM
[Custom Covers] Blanks, Templates - get them, share them, help to modify and create MiniMouse Calibre 242 10-15-2016 10:31 PM
Help using custom column templates gabby98 Calibre 2 07-17-2012 06:24 PM
Techniques to use plugboards, custom columns and templates kovidgoyal Library Management 0 01-26-2011 05:21 PM


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


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