View Single Post
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:	86
Size:	549.5 KB
ID:	212026

to something like these:
Click image for larger version

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

Click image for larger version

Name:	p2.jpg
Views:	72
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