Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2024, 04:24 AM   #1
WaveEquation
Junior Member
WaveEquation began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2024
Device: Kobo Clara BW
Sharing my script to handle comic books

Hi Everyone, over the last two evenings, I wrote a simple script to convert my Tintin books to a manageable form, so that it's easy to read on my Clara BW. Thought of sharing it here.

I'm NOT a comic book reader and have no clue about manga and such. But I just love Tintin and I really wanted to re-read them on my Kobo (new to ereaders as well.)

Motivations for this script:
1. Even with KOReader, reading the comic book was tedious. I wanted a navigation experience similar to regular books. That is, switching between individual panels (or a couple of hem) with page turns.

2. I checked KCC and it didn't quite do what I expected (unless I'm missing something.)

3. A fun programming exercise.

I'm sure there might be better tools out there but just thought of sharing it with the community.

What does this script do?
Split individual panes from the pages and combines them together in format suitable for small screens (like 2 or 3 panes wide with some fuzzy logic to handle really wide panes.)

Detailed explanation is here: https://github.com/dvnlgls/comic-san

An example:
Turn something like this:
Click image for larger version

Name:	original.jpg
Views:	82
Size:	549.5 KB
ID:	212026

to something like these:
Click image for larger version

Name:	p1.jpg
Views:	74
Size:	497.5 KB
ID:	212024

Click image for larger version

Name:	p2.jpg
Views:	68
Size:	484.1 KB
ID:	212025

More examples here: https://github.com/dvnlgls/comic-san...master/samples

It's not a 100% automation tool, but when configured properly it can vastly reduce the manual efforts (in my case. 99%!).

Unfortunately, it does call for some coding knowledge.

You can check out the code here: https://github.com/dvnlgls/comic-san/

Last edited by issybird; 11-16-2024 at 08:20 AM. Reason: Oversize images attached as thumbnail. Please read the guidelines for limits on image size.
WaveEquation is offline   Reply With Quote
Old 11-16-2024, 04:57 AM   #2
WaveEquation
Junior Member
WaveEquation began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2024
Device: Kobo Clara BW
Forgot to mention. The most difficult task of getting the panes from pages is done by https://github.com/njean42/kumiko/ So, all credit to the author.
WaveEquation is offline   Reply With Quote
Advert
Old 11-18-2024, 01:16 PM   #3
Pjama
Guru
Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.
 
Pjama's Avatar
 
Posts: 733
Karma: 2347200
Join Date: Apr 2016
Location: TX
Device: Scribe and Libra Colour
This looks great, thanks so much for sharing this. I have quite a lot of Asterix books I look forward to trying this on.
Pjama is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to handle images in books while doing OCR of books? Remomama Workshop 3 03-10-2020 11:19 AM
Why Kindle format still can't handle books with maps, pictures (travel books)? avid01 General Discussions 2 01-25-2014 05:18 PM
Comic optimizer script rhon Kobo Reader 0 11-08-2012 06:04 PM
PRS-505 Too many books for the 505 to handle? Belfaborac Sony Reader 13 05-28-2010 02:54 AM


All times are GMT -4. The time now is 01:55 PM.


MobileRead.com is a privately owned, operated and funded community.