07-13-2018, 01:40 PM | #16 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
And finally released v1.0.0 .
Mainly making sure Mark 7 devices are handled correctly, and tweaking a few things for KOReader & KFMon . |
07-19-2018, 07:58 PM | #17 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.2.0 .
This one adds a major feature: displaying images! Most common formats should be handled, and you can adjust the exact positioning in all kinds of crazy ways . As usual, for best results, properly dithered PNGs are your friend . If you have access to ImageMagick v7, my current rescale + letterbox + grayscale + dither pass of choice looks something like this: Code:
convert input.png -colorspace Lab -filter LanczosSharp -distort Resize 1080x1429 -colorspace sRGB -background black -gravity center -extent 1080x1429! -grayscale Rec709Luminance -colorspace sRGB -dither Riemersma -remap eink_cmap.gif -quality 75 png:out.png With the cmap attached here. EDIT: An approximately 10 times faster alternative, if you *really* need on-device processing: Code:
convert input.png -filter LanczosSharp -resize 1080x1429 -background black -gravity center -extent '1080x1429!' -colorspace Gray -dither Riemersma -remap eink_cmap.gif -quality 75 png:out.png Last edited by NiLuJe; 02-12-2019 at 08:57 PM. Reason: Create true Grayscale PNGs, instead of Indexed RGB (speedier rendering in FBInk ;)). |
Advert | |
|
07-21-2018, 02:26 PM | #18 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.2.5 .
Expands on the image display feature of v1.2.0 by adding proper transparency support (i.e., if you feed it an image with an alpha channel, it'll do the right thing with it) . You can opt to disable this via a flag, because it comes with a bit of a performance penalty . |
08-02-2018, 05:31 PM | #19 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.2.6 .
A few code cleanups & tweaks, and a fix for potentially broken behavior at high font scaling values. |
08-15-2018, 03:07 PM | #20 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.3.0 .
This one comes with a crapload of changes . I won't rehash the changelog, but, basically, everything's faster, we've got some new fonts to play with (c.f., attached screenshots), and there's even more control over image & text positioning. This is also the first real introduction of the button_scan thingy we've talked about in the kobo-rclone thread, but that'll be the subject of a dedicated thread later tonight . And, just for shit'n giggles, there's now a linux target to bypass a few eInk specific checks, so that you can use this on any kind of Linux fb without spurious warnings (c.f., a snapshot from my desktop's EFI framebuffer ). Last edited by NiLuJe; 08-15-2018 at 04:59 PM. |
Advert | |
|
08-16-2018, 09:34 PM | #21 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
And released v1.4.0, a bit earlier than I initially planned, because there was a stupid build issue in 1.3.0 that basically broke this Kobo package... (thanks to @codex-hex for the heads up).
Which means you get the performance improvement in text rendering a bit early, as well as the pixel-perfect text positioning options . |
08-21-2018, 03:38 PM | #23 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.4.1 .
With a few fixes to the X/Y offset features that got in a bit too early in the rushed 1.4.0 release . Also stdin handling on the CLI tool, and lowercase glyphs in the block font . And in Kobo-land, button_scan *should* now work neaaaarly everywhere (the H2O²r1 is still out, while the Aura Edition 2 *might* work, at least the original hardware revision). |
09-02-2018, 08:46 PM | #25 |
Guru
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
|
09-19-2018, 01:45 PM | #28 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.7.0 .
A bunch of changes in this one, most notably one trying to make row 0 more usable, in particular when there's empty vertical space left (i.e., when we can't fit a final line on screen because its height is larger than the space left). In the same vein, this one finally honors the crazy viewport on the H2O, with its 11 top pixels hidden behind the bezel. I'm fairly sure the same sort of thing should apply to the Aura, and possibly the H2O², but I'd need an fbgrab screenshot of Nickel to confirm that. There's also a bunch of new stuff around button_scan handling that @sherman will make use of . |
09-19-2018, 04:25 PM | #29 | |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
But that might be because I had it opened up and all and things might have shifted around a little. It's just impossible to handle. In a picture viewer it might make sense to just draw-repeat the first line of the picture into the top area just in case it's peeking out for someone else too |
|
09-19-2018, 04:53 PM | #30 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@frostschutz: Yeah, even on my unopened one, the fit of the top edge of the bezel/IR array is atrocious :/.
11px is the value Nickel itself blacks out, to avoid any possible nitpicking on that front (i.e., I shift the blame to Kobo ;p). That works out fine on my end, I can maaaaaybe see one or two of those if I look at it at a reaaally shallow angle (like, err, when it's sitting next to the keyboard during tests ;p). . But then you start to see fairly weird crap everywhere at that angle, plus the reflections off the IR casing . In any case, that fudging around is togglable, to restore the previous behavior . ---- EDIT: Stupid idea of the night: one could use the nightmode hack as a skeleton on which to base something to forcibly black out those pixels in Nickel: interpose updates w/ top=11 & height=1429, and possibly add a bit of targeted memset if Nickel also skips writing to those entirely, and not just refreshes . Last edited by NiLuJe; 09-19-2018 at 05:04 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura HD Small tool for filling book library in Kobo Aura | Paxerus | Kobo Developer's Corner | 2 | 12-31-2013 08:05 PM |
Small print | Broadback | Conversion | 12 | 12-12-2011 03:31 PM |
Small Tool to change book order (PRS-x50) | goaspy | Sony Reader | 113 | 10-14-2011 04:28 PM |
small print | breezeman | Introduce Yourself | 13 | 07-03-2011 10:02 AM |