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

 MobileRead Forums Is there a way to put comics/manga on PW?
 User Name Remember Me? Password

 11-24-2012, 04:52 PM #46 duelle Member   Posts: 13 Karma: 485352 Join Date: Feb 2012 Device: Sony PRS-T1, Kindle PW Maybe it's just me, but that ChainLP programs seems to soften the images and all of them seem off-center. I fiddled with the settings and can't seem to get it quite right.
11-24-2012, 09:07 PM   #47
phoneline
Junior Member

Posts: 2
Karma: 10
Join Date: Nov 2012
Device: kindle paperwhite
Quote:
 Originally Posted by duelle Maybe it's just me, but that ChainLP programs seems to soften the images and all of them seem off-center. I fiddled with the settings and can't seem to get it quite right.
The programmer of ChainLP is a Japanese. So the English translation of interface may be is not 100% correct. And my mother tongue is not English,so i just use the Japanese interface.

This is the sample I converted.
Spoiler:
[/QUOTE]

And how can I upload my default.ini to this forum?

Last edited by phoneline; 11-26-2012 at 09:05 AM.

11-25-2012, 11:26 AM   #48
thomass
Wizard

Posts: 1,664
Karma: 1980473
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
 Originally Posted by phoneline And how can I upload my default.ini to this forum?
you can upload it after either appending ".txt" or zipping it.

also note that you can use the spoiler tag to hide a big picture to not disturb people
ie like this:
Spoiler:

Last edited by thomass; 11-25-2012 at 11:31 AM.

 11-30-2012, 09:41 AM #49 ciromattia KCC Co-author     Posts: 88 Karma: 159872 Join Date: Nov 2012 Location: Rovigo, Italy Device: Kindle 3 (Keyboard) Hi all! Kudos to Dc5e for KindleComicParser! Since I'm on a Mac, the script is nearly useless without a VM, so I came out with a python script that's almost identical but more portable for *NIX systems. I additionally bundled the whole workflow (HTML/NCX/OPF generation, kindlegen, kindlestrip) in an AppleScript droplet for MacOS users. You can find the standalone script along with the droplet at https://github.com/ciromattia/kcc. I plan to add support for CBR/CBZ opening to the droplet very soon (comic2ebook.py already has), and extend the workflow with some image manipulation (margin removal, contrast, resizing). Hope you like it
12-10-2012, 03:58 PM   #50
devorez
Member

Posts: 18
Karma: 10
Join Date: Aug 2011
Device: kindle
Quote:
 Originally Posted by ciromattia Hi all! Kudos to Dc5e for KindleComicParser! Since I'm on a Mac, the script is nearly useless without a VM, so I came out with a python script that's almost identical but more portable for *NIX systems. I additionally bundled the whole workflow (HTML/NCX/OPF generation, kindlegen, kindlestrip) in an AppleScript droplet for MacOS users. You can find the standalone script along with the droplet at https://github.com/ciromattia/kcc. I plan to add support for CBR/CBZ opening to the droplet very soon (comic2ebook.py already has), and extend the workflow with some image manipulation (margin removal, contrast, resizing). Hope you like it
Thanks for this tool.
I'm using it on Windows and when I launch "comic2ebook.py KHD <folderPath>" I get this error:

ne 85, in __init__
im = Image.open(dstdir + "/" + filelist[0][0] + filelist[0][1])
IndexError: list index out of range

PIL is installed. Do I need to compress the folder with rarfile.py? I tried it, but no compressed folder seems to be created with this tool.

-----

@Dc5e Are you planning to add images optimization as ciromattia did? That'd be nice
Also there is sometimes an issue with chapters order. For example "10" come before "9".

Last edited by devorez; 12-10-2012 at 06:13 PM.

12-14-2012, 09:33 AM   #51
ciromattia
KCC Co-author

Posts: 88
Karma: 159872
Join Date: Nov 2012
Location: Rovigo, Italy
Device: Kindle 3 (Keyboard)
Quote:
 Originally Posted by devorez Thanks for this tool. I'm using it on Windows and when I launch "comic2ebook.py KHD " I get this error: File "C:\Users\***\Downloads\kcc-master\kcc-master\kcc\comic2ebook.py", li ne 85, in __init__ im = Image.open(dstdir + "/" + filelist[0][0] + filelist[0][1]) IndexError: list index out of range PIL is installed. Do I need to compress the folder with rarfile.py? I tried it, but no compressed folder seems to be created with this tool. ----- Also there is sometimes an issue with chapters order. For example "10" come before "9".
hi, thanks for reporting, I did no tests on Windows, I'll do when I'm back from work. You need not to create the archive, the script should run fine on folders, I suppose the issue is in the different way to treat paths (*nix uses '/' and w32 uses '\'), I'll let you know when it's fixed!

The order issue is because of the OS, which orders folders and files alphabetically and not "humanly", so '10' (which starts with '1') comes before '9'. You should rename files padding with left '0's the one-numbered ones.

12-15-2012, 12:08 PM   #52
devorez
Member

Posts: 18
Karma: 10
Join Date: Aug 2011
Device: kindle
Quote:
 Originally Posted by ciromattia hi, thanks for reporting, I did no tests on Windows, I'll do when I'm back from work. You need not to create the archive, the script should run fine on folders, I suppose the issue is in the different way to treat paths (*nix uses '/' and w32 uses '\'), I'll let you know when it's fixed! The order issue is because of the OS, which orders folders and files alphabetically and not "humanly", so '10' (which starts with '1') comes before '9'. You should rename files padding with left '0's the one-numbered ones.
Great, waiting for it

 12-17-2012, 06:54 AM #53 ciromattia KCC Co-author     Posts: 88 Karma: 159872 Join Date: Nov 2012 Location: Rovigo, Italy Device: Kindle 3 (Keyboard) Ok, I should have nailed down the issue and it should be fixed, at least on my win machine (Win7 with ActivePython and PIL). I also pushed some code to make the app compliant with Python3 and to make it buildable as a standalone app/exe, but it still needs a GUI (some drag'n'drop functionality and configuration option); for now you can call Code: python.exe \path\to\kccdir\kcc\comic2ebook.py KHD \path\to\file_or_folder Also note that, as rarfile library specifications (https://github.com/markokr/rarfile/blob/master/FAQ) you need to have unrar.exe in your PATH to make RAR/CBR extract correctly; when I'll complete the full app I'm going to ship unrar.exe directly in the exe (or switch to something more open, like 7zip). Please tell me if now it works for you! C. Last edited by ciromattia; 12-17-2012 at 06:55 AM. Reason: formatting for readability :)
 12-18-2012, 12:27 AM #54 borako Junior Member   Posts: 2 Karma: 10 Join Date: Dec 2012 Device: kindle paperwhite Ciromattia, I've been looking for such a solution for Mac and thanks for your work. However, I've tried running your app (KindleComicConverter.app) it complains that kindlegen is missing, even though it's available in /usr/loca/bin. Is it possible for you to look into this? I would very much like to use the app instead of python script. Thanks.
 12-18-2012, 06:45 AM #55 ciromattia KCC Co-author     Posts: 88 Karma: 159872 Join Date: Nov 2012 Location: Rovigo, Italy Device: Kindle 3 (Keyboard) Hi, glad you like it The AppleScript used to look specifically into /usr/local/bin, but prefixing it with the HD name: Code: set kindlegenPath to POSIX path of file ("Macintosh HD:usr:local:bin:kindlegen") Now it should work also if you changed your system disk name, please pull the latest version and tell me if it works. I also noticed that for some reason AppleScript seems to hide the PATH to Python, so rarfile fails: this means that you can't use the droplet with CBR/RAR files (you still can use the bare comic2ebook.py script, though) until I nail down the issue - or finish the GUI
 12-18-2012, 07:14 PM #56 borako Junior Member   Posts: 2 Karma: 10 Join Date: Dec 2012 Device: kindle paperwhite Thanks Ciromattia. I've finally got it to work. A couple of suggestions: First it'd be nice if it just uses directory name from the source file, instead of asking with a pop-up window with pre-filled source file name. Second, is it possible to get rid of the kindlegen dialogue window? These two are in my way of processing multiple files at once without interruption. Again, thanks for the nice work!
 12-18-2012, 09:58 PM #57 fabiomdiniz Junior Member   Posts: 1 Karma: 10 Join Date: Dec 2012 Device: Kindle Paperwhite Hello, I was wondering what we could do to add covers to these mobi files generated by KindleComicParser. I tried to convert the mobi to mobi again on Calibre and just add the cover, but it seems to mess with the book, resizing images and making it not be treated as a comic on Kindle.
 12-19-2012, 06:41 AM #58 peter12345 Connoisseur     Posts: 93 Karma: 498332 Join Date: Jun 2012 Device: 2 * K3 with 3G, Sony PRS-T1 I think comics are done badly on the K3 - I just - ,,, through.... some frustration bought them from Amazon and removed the copyright and put them on my Sony reader, which was much better. I once even bought some music, and I simply could not read it.... Naruto comics are having a field day as b/w comics go? Even the hacked apps added to K3 work better with comics, once the copy-right has been removed. Perhaps the best method for comics is a memory stick connected to a media player like PS3 or ..... whatever>>>>
12-21-2012, 06:37 AM   #59
devorez
Member

Posts: 18
Karma: 10
Join Date: Aug 2011
Device: kindle
Unfortunately it's still not working for me on Win 8.
Here is the traceback:
Quote:
 Splitting double pages... Traceback (most recent call last): File "C:\Users\chris\Downloads\kcc-master\kcc-master\kcc\comic2ebook.py", li ne 195, in main() File "C:\Users\chris\Downloads\kcc-master\kcc-master\kcc\comic2ebook.py", li ne 187, in main OPFBuilder(dir,title,filelist) File "C:\Users\chris\Downloads\kcc-master\kcc-master\kcc\comic2ebook.py", li ne 85, in __init__ im = Image.open(dstdir + "/" + filelist[0][0] + filelist[0][1]) IndexError: list index out of range

12-26-2012, 04:41 AM   #60
xCarJx
Junior Member

Posts: 1
Karma: 10
Join Date: Dec 2012
Device: Kindle Paperwhite Wi-Fi
little something when using calibre

Quote:
 Originally Posted by Dc5e Spoiler: Requirements:.NET 4.0 Framework Batch image editor Kindlegen with KF8 support. Patience What it does:The Kindle Paperwhite's image editor no longer stores last read location, so my solution is to create a .mobi Panel View comic book (images fill the screen). This program will generate the .html, .opf, and .ncx files for Kindlegen to generate the .mobi. How to use:Prepare comic/manga images using a batch image editor (IrfanView, Photoshop, etc) or Mangle. Resize the images to 758x1024 in .png or .jpg formats and apply any other sharpening/processing as you wish. Other resolutions may give errors during Kindlegen. I recommend converting to 8-bit grayscale to save space. Organize the images into folders (Use leading 0's to avoid file ordering problems). For example, C:\Naruto C:\Naruto\Chapter 001\ C:\Naruto\Chapter 001\001.png C:\Naruto\Chapter 001\002.png C:\Naruto\Chapter 002\ C:\Naruto\Chapter 002\001.png C:\Naruto\Chapter 002\002.png etc... Open KindleComicParser.exe (attached to this post), type in a title name into the textbox, click process, and select C:\Naruto. A message should pop up once complete, and C:\Naruto should be filled with a .opf, .ncx, and many .html files. Run Kindlegen (link to download page) on the .opf file. Depending on how many images you have, this may take awhile. Once completed, the .mobi file should be in the directory. Remove the SRCS record to reduce the .mobi filesize in half. You can use Kindlestrip. Copy the .mobi file to your Kindle! Changelog:0.2.1 - Changed to use .NET 4.0 to hopefully eliminate any backwards compatibility issues 0.2 - Added Command line ability 0.1 - Initial Version
Thanks it works like a charm =D!

Just something you all should notice: If you try to use Calibre to add this MOBI to your device make sure you disable the "Send page number" (for PW and Touch) because it makes Calibre crash.

Menu Toolbar with device connected > Device > Configure this device ---> Uncheck the "Send page number information..."

Im using Calibre because i wanted to manage the metadata for collections so i noticed this. If it's already been said just dont mind me =P

 Tags comics, k5 tools, kindle tools, manga, paperwhite