Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2013, 07:22 AM   #1
ciromattia
Connoisseur
ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'
 
Posts: 78
Karma: 127374
Join Date: Nov 2012
Device: Kindle 3
Thumbs up Kindle Comic Converter v2.6 - convert CBZ/CBR/PDFs comics to PanelView Mobi

KCC (a.k.a. KindleComicConverter) is a Python app to convert comic files or folders to ePub or Panel View Mobipocket.
It also optimizes comic images by:
  • enhancing contrast
  • cutting page numbering
  • cropping white borders
  • resizing larger images to device's native resolution
  • quantizing images to device's palette

PROJECT HOMEPAGE
The official page for the project is http://github.com/ciromattia/kcc: here you can find the complete README, sources, open issues and such stuff.

KCC was initally developed for Kindle but as of version 2.2 it outputs valid ePub 2.0 so despite its name, KCC is actually a comic2epub converter that every ereader owner can happily use.

RELEASES
Last stable version is 2.9.
You can find the latest released binary at the following links:
COPYRIGHT
Copyright (c) 2012-2013 Ciro Mattia Gonano with further contributions by Paweł Jastrzębski.
KCC is released under ISC LICENSE; see LICENSE.txt for further details.

CHANGELOG
  • 1.00: Initial version
  • 1.10: Added support for CBZ/CBR files in comic2ebook.py
  • 1.11: Added support for CBZ/CBR files in KindleComicConverter
  • 1.20: Comic optimizations!
    Split pages not target-oriented (landscape with portrait target or portrait with landscape target), add palette and other image optimizations from Mangle.
    WARNING: PIL is required for all image mangling!
  • 1.30: Fixed an issue in OPF generation for device resolution
    Reworked options system (call with -h option to get the inline help)
  • 1.40: Added some options for controlling image optimization
    Further optimization (ImageOps, page numbering cut, autocontrast)
  • 1.41: Fixed a serious bug on resizing when img ratio was bigger than device one
  • 1.50: Added subfolder support for multiple chapters.
  • 2.0: GUI! AppleScript is gone and Tk is used to provide cross-platform GUI support.
  • 2.1: Added basic error reporting
  • 2.2: Added (valid!) ePub 2.0 output
    Rename .zip files to .cbz to avoid overwriting
  • 2.3: Fixed win32 ePub generation, folder handling, filenames with spaces and subfolders
  • 2.4: Use temporary directory as workdir (fixes converting from external volumes and zipfiles renaming)
    Fixed "add folders" from GUI.
  • 2.5: Added --black-borders option to set added borders black when page's ratio is not the device's one (#11).
    Fixed epub containing zipped itself (#10).
  • 2.6: Added --rotate option to rotate landscape images instead of splitting them.
    Added --output option to customize ePub output dir/file.
    Add rendition:layout and rendition:orientation ePub meta tags (supported by new kindlegen 2.8)
  • 2.7 Lots of GUI improvements (#27, #13)
    Added gamma support within --gamma option (defaults to profile-specified gamma) (#26, #27)
    Added --nodithering option to prevent dithering optimizations (#27)
    Epub margins support (#30)
    Fixed no file added if file has no spaces on Windows (#25)
    Gracefully exit if unrar missing (#15)
    Do not call kindlegen if source epub is bigger than 320MB (#17)
    Get filetype from magic number (#14)
    PDF conversion works again
  • 2.8 updated rarfile library
    Panel View support + HQ support (#36) - new option: --nopanelviewhq
    Split profiles for K4NT and K4T
    Rewrite of Landscape Mode support (huge readability improvement for KPW)
    Upscale use now BILINEAR method
    Added generic CSS file
    Optimized archive extraction for zip/rar files (#40)
  • 2.9 Added support for generating a plain CBZ (skipping all the EPUB/Mobi generation) (#45)
    Prevent output file overwriting the source one: if a duplicate name is detected, append _kcc to the name
    Rarfile library updated to 2.6
    Added GIF, TIFF and BMP to supported formats (#42)
    Filenames slugifications (#28, #31, #9, #8)
__________________
So long, and thanks for all the fish.
Want to read comics on your Kindle? Get Kindle Comic Converter!

Last edited by ciromattia; 04-20-2013 at 09:38 PM. Reason: 2.9 release
ciromattia is offline   Reply With Quote
Old 03-05-2013, 07:22 AM   #2
ciromattia
Connoisseur
ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'
 
Posts: 78
Karma: 127374
Join Date: Nov 2012
Device: Kindle 3
reserved for future use
__________________
So long, and thanks for all the fish.
Want to read comics on your Kindle? Get Kindle Comic Converter!
ciromattia is offline   Reply With Quote
 
Enthusiast
Old 03-05-2013, 07:25 AM   #3
AcidWeb
Connoisseur
AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.
 
AcidWeb's Avatar
 
Posts: 69
Karma: 54152
Join Date: Mar 2013
Device: Kindle Keyboard
AWKCC is C# (.NET 4.0) KCC wrapper/GUI.

This small monster exist only because due lack of my Python skills I can't implement everything I want directly to KCC code also because Python GUIs are ugly :-)
This was my totally private program but I thought that maybe somebody else want to use it too.

Download: AWKCC 1.6
Package contain everything needed - Excluding KindleGen. Download it from here.



Currently AWKCC conversion process looks like this:
  1. Additional pre-KCC cleaning of file and directory names.
  2. Creating EPUB file - KCC
  3. Checking if EPUB file size will not break KindleGen.
  4. Creating MOBI file - KindleGen
  5. Removing SRCS header - KindleStrip
  6. Modifying EXTH headers* - Mobi2Mobi
* - This step should remove "Personal" tag. But it seems that standard method (113, 501, 504) don't work in comic type MOBI. If anybody have any ideas - I'm listening.

Important tips:
  • Disabling HQ Panel View will highly decrease size of output file. Consider it when Panel View support is not needed.
  • Only PNG, JPG, TIFF, GIF and BMP files will be parsed correctly. I highly discourage CBZ and CBR files.
  • Input directory name will be book name.
  • First image will be cover.
  • All files/directories will be added to EPUB in alphabetical order.
  • Ready MOBI file should be uploaded by USB connection. Other methods might corrupt it.
  • If you converting color images and the end result is not satisfactory - experiment with Gamma correction option. First try 1.0 setting.

Sample files:

Last edited by AcidWeb; 04-27-2013 at 12:34 PM.
AcidWeb is offline   Reply With Quote
Old 03-05-2013, 07:37 AM   #4
neonbible
Groupie
neonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watch
 
Posts: 190
Karma: 10802
Join Date: Sep 2010
Device: Kindle 3, iPhone 5, New iPad, Paperwhite
Having problems creating the mobi file

No such file or directory ....C:/.../.comic.mobi

epub file is fine.

Using PC

Last edited by neonbible; 03-05-2013 at 08:26 AM.
neonbible is offline   Reply With Quote
Old 03-05-2013, 08:19 AM   #5
Sauyadav
Member
Sauyadav began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Aug 2008
Location: India
Device: Kindle Paperwhite, Nokia 5700 with ZXReader2, Xolo A700 with Fbreader
Its working perfectly, I tried it on a manga and navigation is now manga style as well as panel mode is also from right to left. Also landscape mode is working too. Thanks!!

PS: Got the same error as above poster on my second attempt.

PPS: Seems like problem was because archive contained files with weird characters in file-name (probably Japanese as its not displaying correctly on my laptop). Changing the names corrected it. Also it will be helpful if you can add drag & drop support for adding new files or folders.

Last edited by Sauyadav; 03-05-2013 at 08:39 AM.
Sauyadav is online now   Reply With Quote
Old 03-05-2013, 08:26 AM   #6
ciromattia
Connoisseur
ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'
 
Posts: 78
Karma: 127374
Join Date: Nov 2012
Device: Kindle 3
Quote:
Originally Posted by neonbible View Post
Having problems creating the mobi file

No such file or directory ....C:/.../.comic.mobi

epub file is fine.
can you provide me the comic (via PM)?
__________________
So long, and thanks for all the fish.
Want to read comics on your Kindle? Get Kindle Comic Converter!
ciromattia is offline   Reply With Quote
Old 03-05-2013, 08:30 AM   #7
AcidWeb
Connoisseur
AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.
 
AcidWeb's Avatar
 
Posts: 69
Karma: 54152
Join Date: Mar 2013
Device: Kindle Keyboard
Found two bugs in 2.6 release. One fix is already pushed to repo. And I'm working on second one - Landscape blank-page-before-spit is still here in some cases :S

Win32 build is already recompiled with that first fix.
AcidWeb is offline   Reply With Quote
Old 03-05-2013, 08:34 AM   #8
neonbible
Groupie
neonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watch
 
Posts: 190
Karma: 10802
Join Date: Sep 2010
Device: Kindle 3, iPhone 5, New iPad, Paperwhite
Quote:
Originally Posted by ciromattia View Post
can you provide me the comic (via PM)?
Sent to you, thanks.

Also noticed if the file you are adding to the list doesn't contain any spaces, it doesn't add.
neonbible is offline   Reply With Quote
Old 03-05-2013, 08:49 AM   #9
ciromattia
Connoisseur
ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'ciromattia has never once had to say 'it's on the tip of my tongue...'
 
Posts: 78
Karma: 127374
Join Date: Nov 2012
Device: Kindle 3
Quote:
Originally Posted by neonbible View Post
Sent to you, thanks.
on OSX it's fine, I'm going to check on Win

Quote:
Originally Posted by neonbible View Post
Also noticed if the file you are adding to the list doesn't contain any spaces, it doesn't add.
got, it's a Windows-only issue, I'm checking later at home (only remote connection here at work, and it's not so great for debugging )
__________________
So long, and thanks for all the fish.
Want to read comics on your Kindle? Get Kindle Comic Converter!

Last edited by ciromattia; 03-05-2013 at 09:20 AM. Reason: got error on win
ciromattia is offline   Reply With Quote
Old 03-05-2013, 09:57 AM   #10
neonbible
Groupie
neonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watch
 
Posts: 190
Karma: 10802
Join Date: Sep 2010
Device: Kindle 3, iPhone 5, New iPad, Paperwhite
Quote:
Originally Posted by ciromattia View Post
on OSX it's fine, I'm going to check on Win
I just tried on OSX and I get the same error?
neonbible is offline   Reply With Quote
Old 03-05-2013, 12:02 PM   #11
AcidWeb
Connoisseur
AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.
 
AcidWeb's Avatar
 
Posts: 69
Karma: 54152
Join Date: Mar 2013
Device: Kindle Keyboard
Updated AWKCC post.

Also if somebody downloaded KCC Win32 version - Do that again.
I uploaded new file with important bug fixes.
AcidWeb is offline   Reply With Quote
Old 03-05-2013, 12:42 PM   #12
neonbible
Groupie
neonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watch
 
Posts: 190
Karma: 10802
Join Date: Sep 2010
Device: Kindle 3, iPhone 5, New iPad, Paperwhite
What did you fix? I downloaded again but getting the same problems as before.
neonbible is offline   Reply With Quote
Old 03-05-2013, 12:44 PM   #13
AcidWeb
Connoisseur
AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.AcidWeb knows the way to San Jose.
 
AcidWeb's Avatar
 
Posts: 69
Karma: 54152
Join Date: Mar 2013
Device: Kindle Keyboard
Quote:
Originally Posted by neonbible View Post
What did you fix? I downloaded again but getting the same problems as before.
I tested your file myself. It is working here.

No idea what is wrong.
AcidWeb is offline   Reply With Quote
Old 03-05-2013, 12:55 PM   #14
neonbible
Groupie
neonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watch
 
Posts: 190
Karma: 10802
Join Date: Sep 2010
Device: Kindle 3, iPhone 5, New iPad, Paperwhite
I know what the problem is. I do not have kindlegen or unrar.

I've downloaded them now, but what do I do with them?

EDIT: I just put it in the same folder and now it works! Thanks.

Last edited by neonbible; 03-05-2013 at 12:58 PM.
neonbible is offline   Reply With Quote
Old 03-05-2013, 03:49 PM   #15
Urado
Junior Member
Urado has a certain pleonastic somethingUrado has a certain pleonastic somethingUrado has a certain pleonastic somethingUrado has a certain pleonastic somethingUrado has a certain pleonastic somethingUrado has a certain pleonastic somethingUrado has a certain pleonastic somethingUrado has a certain pleonastic somethingUrado has a certain pleonastic somethingUrado has a certain pleonastic somethingUrado has a certain pleonastic something
 
Posts: 5
Karma: 18588
Join Date: Feb 2013
Device: Kindle Paperwhite
Thanks, its working perfectly on kindle PW !
Urado is offline   Reply With Quote
Reply

Tags
k5 tools, kindle tools

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Margin while converting CBZ & CBR Comics into MOBI BohemianGecko Conversion 2 03-05-2013 07:26 AM
CBR or CBZ comics on kindle paperwhite arad26 Amazon Kindle 15 01-29-2013 10:42 AM
Conversion of comics (CBR/CBZ) FangornUK Conversion 269 09-05-2012 11:43 PM
Best Reader/Tablet for color comic books (cbr and cbz) astrangerhere Which one should I buy? 11 02-29-2012 11:17 PM
Comic Converter for PDF, CBZ, CBR, ZIP, RAR, PPT, PPTX jontylovell Deals, Freebies, and Resources (No Self-Promotion) 8 09-19-2009 06:18 AM


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


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