![]() |
#1 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
![]()
So, err, I may have reimplemented eips from scratch. Oops?!
Long story short, not having eips on Kobo had been bugging me for a while, so I finally caved and did it myself. And then I kind of went a wee bit overboard with it... ![]() So, yeaaaah, here it is, tailored for Kindles... NOTE: It's also bundled with USBNet, provided you use a current snapshot, which you should ![]() NOTE: It's actually also usable as a C library (in which case, you can also strip down extra fonts, image & OpenType support to to shave it down to ~55KB). The binaries attached here are basically a commandline utility statically linked to said library. Some flags & options may look familiar ![]() NOTE: Bindings available in Go, LuaJIT & Python (with the Python bindings being shipped as part of my Python package). Last edited by NiLuJe; 12-05-2022 at 03:03 PM. Reason: Bumped to 1.25.0 |
![]() |
![]() |
![]() |
#3 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,015
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
|
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@PoP: \o/
And just to assuage my inner OCD: that was a BOM at the beginning of PoP.txt, right? |
![]() |
![]() |
![]() |
#5 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,015
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Exactly. And I shamelessly
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v0.9.12
![]() This one mainly has new centering code, so that stuff is even more in the middle than before! Yay. (Also, stuff may be even more broken than before, because basic geometry & arithmetics and me don't mix). This should also feature a slightly more correct KOA2 handling ![]() |
![]() |
![]() |
![]() |
#7 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,015
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
|
![]() |
![]() |
![]() |
#9 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
And v1.0.0 is finally out the door
![]() Again, mainly Kobo & API tweaks. And the KV should now default to a slightly smaller font size. |
![]() |
![]() |
![]() |
#10 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
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
![]() With one major feature, bringing us to (useful) feature parity with eips: image support! Yay! Most common image formats are supported, although you really should be using properly dithered PNGs ![]() JPEG (at least for my test images) appears to be slightly broken on really legacy devices (i.e., armv6), but the rest looks okay there ![]() Last edited by NiLuJe; 07-19-2018 at 07:17 PM. |
![]() |
![]() |
![]() |
#11 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,015
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
|
![]() |
![]() |
![]() |
#12 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,015
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Simulating GIF animations
Last edited by PoP; 07-21-2018 at 03:21 PM. Reason: spoiled the effect |
![]() |
![]() |
![]() |
#13 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
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 ![]() It also properly handles 4bpp framebuffers, for real this time. Turns out the JPEG issue in 1.2.0 was actually much more generalized, I just hadn't really noticed it, because, err, coding at night, no frontlight... ![]() (Text was mostly unaffected by the issue, because the fact that it's either black or white was hiding the underlying issue ![]() |
![]() |
![]() |
![]() |
#14 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,015
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Star-War Display
|
![]() |
![]() |
![]() |
#15 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,015
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
I was trying to zoom a single "X" character on a K3:
Code:
#!/bin/sh # #Zoom i=1 while [ "$i" -le "45" ]; do fbink -cmp -S $i "X" /mnt/us/screenshot.sh usleep 1000000 i=$(($i + 1)) done S 1 But from S 37 to S 45 doubled "X" appeared: S 37 Any idea what's wrong? ![]() |
![]() |
![]() |
![]() |
Tags |
eips, fbink |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FBInk: A small tool/library to print crap on your screen! | NiLuJe | Kobo Developer's Corner | 309 | 01-31-2025 10:03 AM |
Small print | Broadback | Conversion | 12 | 12-12-2011 02:31 PM |
Small Tool to change book order (PRS-x50) | goaspy | Sony Reader | 113 | 10-14-2011 03:28 PM |
small print | breezeman | Introduce Yourself | 13 | 07-03-2011 09:02 AM |