09-22-2019, 06:46 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2019
Device: KT4
|
SVG or HTML alternative to eips
I am using a KT4 with 5.12.1, and checking what options I have to render graphics to the screen from a shell script.
I can think of using a SVG render engine to create a PNG and print with eips, or to piggyback on the Kindle original browser to render HTML directly. Any suggestions where to start? Thanks! |
09-22-2019, 10:16 AM | #2 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Depends on what exactly you mean by "graphics" .
I'd go with Pillow + FBInk, but that's just me . (All of this is bundled w/ my Python packages). SVG is slightly tricky because most decent rasterizers have a shitton of dependencies. That mainly leaves nanosvg, which understandably has limited capabilities. |
Advert | |
|
09-23-2019, 02:33 AM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Sep 2019
Device: KT4
|
Yes...thinking better about it, I only want to print text, lines and images. Images I could do fine with eips. Lines I think any library could also do. So I'm looking for a text render. I see your library does it. Thanks for the hint.
|
Tags |
render svg html eips |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Strange eips behaviour | ikeabord | Kindle Developer's Corner | 9 | 06-10-2017 05:37 PM |
Can't add cover in Calibre -- get "svg-error" (the property 'svg' should be declared) | Just some guy | Editor | 7 | 04-11-2017 09:54 PM |
K3 Keyboard: eips BMP support | kitomer | Kindle Developer's Corner | 4 | 12-16-2016 02:56 PM |
What is the code for eips ''? | dicalp | Kindle Developer's Corner | 5 | 06-03-2014 07:17 AM |
eips 5.1.0 | geekmaster | Kindle Developer's Corner | 30 | 11-24-2012 12:12 AM |