How ciromattia/kcc works
KCC converts comics and manga into device-optimized ebooks, PDFs, archives, or image folders. The main workflow is to provide source files through the desktop interface or command-line entry point, process pages for a target device, and produce a selected output format. The README also highlights panel splitting/merging and semi-automatic spread handling. Connections reflect the shown startup dispatch, SOURCE INDEX references, and README statements; several conversion internals are unsampled, so their detailed control flow is not inferred.
Main entry points: comic2ebook.py Ebook conversion · KCC_gui.py Desktop GUI · startup.py Startup dispatch · image.py Page parsing
Components 20
Entry points
- App launcher
kcc.py - Startup dispatch
kindlecomicconverter/startup.py
Desktop interface
- Desktop GUI
kindlecomicconverter/KCC_gui.py - Main UI layout
kindlecomicconverter/KCC_ui.py - Metadata editor UI
kindlecomicconverter/KCC_ui_editor.py
Conversion
- Ebook conversion
kindlecomicconverter/comic2ebook.py - Panel split and merge
kindlecomicconverter/comic2panel.py
Page processing
- Page parsing
kindlecomicconverter/image.py - Device profiles
kindlecomicconverter/kindle.py - Page number crop
kindlecomicconverter/page_number_crop_alg.py - Inter-panel crop
kindlecomicconverter/inter_panel_crop_alg.py - Crop helpers
kindlecomicconverter/common_crop.py - Rainbow artifact removal
kindlecomicconverter/rainbow_artifacts_eraser.py
Formats and metadata
- Comic archive access
kindlecomicconverter/comicarchive.py - Comic metadata
kindlecomicconverter/metadata.py - PDF image extraction
kindlecomicconverter/pdfjpgextract.py - Shared utilities
kindlecomicconverter/shared.py
Other components
- Comic reader
- Comic sources
- Converted output
Connections 22
- Comic reader → Comic sources: selects
README.md - Comic reader → Desktop GUI: drops files
README.md - App launcher → Startup dispatch: starts
kcc.py - Startup dispatch → Desktop GUI: launches
kindlecomicconverter/startup.py - Desktop GUI → Main UI layout: sets up
kindlecomicconverter/KCC_gui.py - Desktop GUI → Metadata editor UI: uses
kindlecomicconverter/KCC_gui.py - Desktop GUI → Ebook conversion: dispatches conversion
kindlecomicconverter/KCC_gui.py - Comic sources → Ebook conversion: provides input
README.md - Startup dispatch → Ebook conversion: dispatches CLI
kindlecomicconverter/startup.py - Startup dispatch → Panel split and merge: dispatches CLI
kindlecomicconverter/startup.py - Ebook conversion → Panel split and merge: invokes for webtoons
kindlecomicconverter/comic2ebook.py - Ebook conversion → Page parsing: uses
kindlecomicconverter/comic2ebook.py - Ebook conversion → Device profiles: uses
kindlecomicconverter/comic2ebook.py - Ebook conversion → Comic archive access: uses
kindlecomicconverter/comic2ebook.py - Ebook conversion → Comic metadata: uses
kindlecomicconverter/comic2ebook.py - Ebook conversion → PDF image extraction: uses
kindlecomicconverter/comic2ebook.py - Page parsing → Page number crop: uses
kindlecomicconverter/image.py - Page parsing → Inter-panel crop: uses
kindlecomicconverter/image.py - Page parsing → Rainbow artifact removal: uses
kindlecomicconverter/image.py - Page number crop → Crop helpers: uses
kindlecomicconverter/page_number_crop_alg.py - Inter-panel crop → Crop helpers: uses
kindlecomicconverter/inter_panel_crop_alg.py - Ebook conversion → Converted output: produces
README.md