|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#16 | |
|
Weirdo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,136
Karma: 12503116
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, reMarkable PaperPro
|
Selective binarization and re-encoding program for use with KoReader
Quote:
And how can we trust your app if simply compiling it in rust just fails? |
|
|
|
|
|
|
#17 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 534
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
The 3rd try didn't work either, but for different reasons.
Normal processing worked OK, but had some white margins I wanted to crop. Enabling "Crop margins" did cut the pages but cut part of the text too. So, I let the margins and tried to make it all BW by disabling the "Layout detection". That did make it BW, but also let almost half the pages blank. When I used the "CCITT4" the blank pages were black, with "JBIG2" they were white. Maybe it's not my lucky day..😁 I'll try again tomorrow. Thanks for your efforts though..🙏 Last edited by embryo; 06-27-2026 at 01:09 PM. |
|
|
|
|
|
#18 | ||
|
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2026
Device: Kobo Clara HD
|
Quote:
https://github.com/LegeApp/Lege/rele...inux-universal Can try again when youre ready. Thank you for your motivation. Everything you described should be fixed, unless you are running into OOM issues somehow. But the program has been tested on a Windows sandbox with 4gb ram and integrated VRAM and it works fine there. Quote:
For anyone reading from MacOS, it is compilable there too, you just need to get the pdfium binary from here https://github.com/bblanchon/pdfium-binaries and put it next to the compiled binaries, and grab the other files from the Linux release distribution, then it should work in MacOS too. Let me know if it doesn't. It worked on a macbook in an earlier version just fine. |
||
|
|
|
|
|
#19 |
|
Weirdo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,136
Karma: 12503116
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, reMarkable PaperPro
|
Selective binarization and re-encoding program for use with KoReader
No 32-bit binaries needed, I use macOS but there were no binaries that work on Darwin.
Edit To make it more clear, the existing 64-bit binaries don’t work on macOS. |
|
|
|
|
|
#20 | |
|
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2026
Device: Kobo Clara HD
|
Quote:
Also the Windows release has now been updated. |
|
|
|
|
|
|
#21 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,826
Karma: 731691
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O, Kobo Libra 2
|
|
|
|
|
|
|
#22 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 534
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
Tried the newer version. Much improved..
Now the log is telling me the page that got a problem and stopped, so I can fix it and continue. The Layout detection works better, and it works without it too..👍 The cropping has some problems still, but hopefully will get fixed also. Some bugs I found:
Also, I want to make a wish. Can you please add a dark skin (or just invert the colors of the app)? My eyes are hurt when I use the app at night..🙏 |
|
|
|
|
|
#23 | |
|
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2026
Device: Kobo Clara HD
|
Quote:
I'll work on all those fixes over the next day or 2. It's hard to find a GUI framework that works well on both Windows and Linux so I am going to keep trying to work with Freya's limitations around object placement. Dark mode huh...I can add it as a compile-time feature, I don't want a toggle in the GUI itself. 1.46 will have all these fixes plus SIMD coverage for all encoders for less CPU usage and slightly higher speed. |
|
|
|
|
|
|
#24 |
|
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2026
Device: Kobo Clara HD
|
Alrighty now 1.4.6 is out and i built the release for Linux universal.
https://github.com/LegeApp/Lege/rele...inux-universal other OSes can be built from latest commit. Changes - -the requested GUI fixes. the layout detection off output type was off the canvas and now it appears correctly. added some hiding logic so it disappears when irrelevant. grayed out the maximize button. no reason to maximize the GUI. added a night mode. i do not like dark modes as a rule. it changes in 4 gradients from day to late night, making the color palette darker. can auto set in the About page. -3 of 5 encoders (jp2, jbig2, djvu) have considerable SIMD coverage now. -exposed jbig2 halftone as an option for dithering, it was in the CLI already but i decided it should be in the GUI also now. - added AppImage support due to a user request. not really finalized yet. could theoretically package it yourself if you modify cargo.toml and collect the files. now if you excuse me i want to work on other projects for a while. Enjoy your binarizing |
|
|
|
![]() |
|
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 |