|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#46 |
|
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2026
Device: Kobo Clara BW
|
I am fine with a move but it has a lot to do with KoReader, because standard Kobo software doesn't support DjVu and has issues with JBIG2. So the program is explicitly designed to work with KoReader which supports those formats, and more, well.
And the commit you showed does not do the same thing as my program. it's in the name; it isolates the SMask. Many raster scans aren't masked at all so there is nothing to isolate, that's why they need to be rendered, or the images otherwise extracted. Rendering is faster. It also does not and cannot support layout detection to prevent images from being thresholded. It is a good feature and I support it but it is not the same thing. edit - i am implementing this in Lege now. it wasn't possible before i had control of the renderer. internet archive MRC type scans will retain their original text layers. removed some stuff i said about thresholding; this method doesn't threshold at all. it just uses the jbig2 smask layer, clean and easy for a subset of scanned book types (not all). Last edited by LegeApps; 08-12-2026 at 01:52 AM. |
|
|
|
|
|
#47 |
|
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2026
Device: Kobo Clara BW
|
https://drive.google.com/file/d/1-Jy...ew?usp=sharing
That is a book I have been using for testing for the past year..it's an MRC encoded book from Internet Archive. 35 MB but it is JP2/JBIG2 mask. JP2 is an extremely heavy format. it takes 200ms for an optimized decoder on a core i7 to decode. On an e-ink reader, no chance of decoding in under a second. It takes 45 seconds to load the first page on my Kobo Clara BW using the latest version of KoReader. https://drive.google.com/file/d/1gD7...ew?usp=sharing This is a DjVu of the same book processed by my program. it's 17mb and only because i used high quality and high resolution output; it could be half as large with the right settings. it opens in under 200ms. page turns in under the same. it is optimized for the device. the device doesn't have to choke on a per page temporary adjustment, taking 30+ seconds each time. Now do you all see the utility of the program? It is doing something on the desktop that an e-ink reader simply is not designed to do. E-ink readers are designed for text reading, and have to be hacked to handle complex image formats, and they still don't do them well. my program fills all those gaps, especially with the dithering option. |
|
|
|
| Advert | |
|
|
|
|
#48 | |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 151
Karma: 1252294
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
|
Quote:
If anyone interested the last known AGPL code is available at https://github.com/cowvet195/Lege For cases like this requested at https://archive.softwareheritage.org/save/ at-least for this source archive. ThankYou for your opensource contributions. If possible edit the original post. Last edited by shuvashish76; 08-15-2026 at 03:33 AM. |
|
|
|
|
|
|
#49 | |
|
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2026
Device: Kobo Clara BW
|
Quote:
i don't want to do the work of maintaining opensource code, when there is no reason to do so or benefit. especially since when it was opensource, it still needed the onnx models and other files in order to work correctly, which I still had to provide. just delete this thread mods. still no new feedback about features or performance, just complaining. |
|
|
|
|
|
|
#50 |
|
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2026
Device: Kobo Clara BW
|
Is it recorded anywhere that the layout detection model was a pp-doclayout-L, before i changed it recently to PP-doclayout-M, converted to onnx from pdiparams format with paddle2onnx, then quantized to fp16, then special graph surgery to prune convs that aren't compatible with wgpu? as in the model is COMPLETELY custom. there was no way to just grab the code and compile and you were good to go. you all complain about opensource but don't want to help or understand the amount of work that went into this. kinda foolish and laughable. people telling me about KoReader features that don't even apply.
|
|
|
|
| Advert | |
|
|
|
|
#51 |
|
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2026
Device: Kobo Clara BW
|
You are all entirely free to fork and preserve the older shittier version of my code!!! and still use the newest release that is actually good and based on feedback from here! There is no reason at all to do the first thing besides being petty!
|
|
|
|
|
|
#52 | |||
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 151
Karma: 1252294
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
|
Quote:
I'm not a dev and I'm not pretending to be one with AI assisted code. Quote:
Quote:
Last edited by shuvashish76; 08-15-2026 at 08:10 AM. |
|||
|
|
|
|
|
#53 |
|
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Jun 2026
Device: Kobo Clara BW
|
I don't want to discuss it anymore. i will keep releasing new release versions on github.
the opensource world basically doesn't deserve my renderer. if anyone thinks it's so easy, make it yourself. Last edited by LegeApps; 08-16-2026 at 08:21 PM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Selective connections to Web | rmanlee | Library Management | 4 | 02-02-2014 03:04 AM |
| Selective paragraph indent | Leonatus | Writer2ePub | 8 | 10-31-2013 04:22 PM |
| Selective preprocess_regexps | dasp | Recipes | 3 | 12-06-2011 08:52 AM |
| Selective format conversion? | drmathprog | Library Management | 2 | 04-19-2011 08:43 AM |
| Selective exclusion of Hyperlinks | SteffenH | Sony Reader | 4 | 10-03-2007 06:51 AM |