mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 01:36:27 +00:00
Update for 2.9 release.
This commit is contained in:
17
README.md
17
README.md
@@ -6,11 +6,17 @@ actually a comic 2 epub converter that every ereader owner can happily use**_.
|
|||||||
|
|
||||||
It can also optionally optimize images by applying a number of transformations.
|
It can also optionally optimize images by applying a number of transformations.
|
||||||
|
|
||||||
|
### A word of warning
|
||||||
|
**KCC** _is not_ [Amazon's Kindle Comic Creator](http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1001103761) nor is in any way endorsed by Amazon.
|
||||||
|
Amazon's tool is for comic _publishers_ and involves a lot of manual effort, while **KCC** is for comic _readers_.
|
||||||
|
If you want to read some comments over *Amazon's kc2* you can take a look at [this](http://www.mobileread.com/forums/showthread.php?t=207461&page=7#96) and [that](http://www.mobileread.com/forums/showthread.php?t=211047) threads on Mobileread.
|
||||||
|
_kc2_ in no way is a replacement for **KCC** so you can be quite confident we'll going to carry on developing our little monster ;)
|
||||||
|
|
||||||
## BINARY RELEASES
|
## BINARY RELEASES
|
||||||
You can find the latest released binary at the following links:
|
You can find the latest released binary at the following links:
|
||||||
- OS X: [https://dl.dropbox.com/u/16806101/KindleComicConverter_osx_2.8.zip](https://dl.dropbox.com/u/16806101/KindleComicConverter_osx_2.8.zip)
|
- OS X: [https://dl.dropbox.com/u/16806101/KindleComicConverter_osx_2.9.zip](https://dl.dropbox.com/u/16806101/KindleComicConverter_osx_2.9.zip)
|
||||||
- Win64: [https://dl.dropbox.com/u/16806101/KindleComicConverter_win-amd64_2.8.zip](https://dl.dropbox.com/u/16806101/KindleComicConverter_win-amd64_2.7.zip)
|
- Win64: [https://dl.dropbox.com/u/16806101/KindleComicConverter_win-amd64_2.9.zip](https://dl.dropbox.com/u/16806101/KindleComicConverter_win-amd64_2.9.zip)
|
||||||
- Win32: [http://pawelj.vulturis.eu/Shared/KindleComicConverter_win-x86_2.8.zip](http://pawelj.vulturis.eu/Shared/KindleComicConverter_win-x86_2.8.zip) *(thanks to [AcidWeb](https://github.com/AcidWeb))*
|
- Win32: [http://pawelj.vulturis.eu/Shared/KindleComicConverter_win-x86_2.9.zip](http://pawelj.vulturis.eu/Shared/KindleComicConverter_win-x86_2.9.zip) *(thanks to [AcidWeb](https://github.com/AcidWeb))*
|
||||||
- Linux: Just download sourcecode and launch `python kcc.py` *(Provided you have Python and Pillow installed)*
|
- Linux: Just download sourcecode and launch `python kcc.py` *(Provided you have Python and Pillow installed)*
|
||||||
|
|
||||||
## INPUT FORMATS
|
## INPUT FORMATS
|
||||||
@@ -51,6 +57,7 @@ Options:
|
|||||||
-t TITLE, --title=TITLE
|
-t TITLE, --title=TITLE
|
||||||
Comic title [Default=filename]
|
Comic title [Default=filename]
|
||||||
-m, --manga-style Manga style (Right-to-left reading and splitting) [Default=False]
|
-m, --manga-style Manga style (Right-to-left reading and splitting) [Default=False]
|
||||||
|
-c, --cbz-output Outputs a CBZ archive and does not generate EPUB
|
||||||
--nopanelviewhq Disable high quality Panel View [Default=False]
|
--nopanelviewhq Disable high quality Panel View [Default=False]
|
||||||
--noprocessing Do not apply image preprocessing (Page splitting and optimizations) [Default=True]
|
--noprocessing Do not apply image preprocessing (Page splitting and optimizations) [Default=True]
|
||||||
--forcepng Create PNG files instead JPEG (For non-Kindle devices) [Default=False]
|
--forcepng Create PNG files instead JPEG (For non-Kindle devices) [Default=False]
|
||||||
@@ -62,7 +69,7 @@ Options:
|
|||||||
--nosplitrotate Disable splitting and rotation [Default=False]
|
--nosplitrotate Disable splitting and rotation [Default=False]
|
||||||
--nocutpagenumbers Do not try to cut page numbering on images [Default=True]
|
--nocutpagenumbers Do not try to cut page numbering on images [Default=True]
|
||||||
-o OUTPUT, --output=OUTPUT
|
-o OUTPUT, --output=OUTPUT
|
||||||
Output generated EPUB to specified directory or file
|
Output generated file (EPUB or CBZ) to specified directory or file
|
||||||
-v, --verbose Verbose output [Default=False]
|
-v, --verbose Verbose output [Default=False]
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -125,7 +132,7 @@ The app relies and includes the following scripts/binaries:
|
|||||||
- 2.9: Added support for generating a plain CBZ (skipping all the EPUB/Mobi generation) (#45)
|
- 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
|
Prevent output file overwriting the source one: if a duplicate name is detected, append _kcc to the name
|
||||||
Rarfile library updated to 2.6
|
Rarfile library updated to 2.6
|
||||||
Added GIF, TIFF and BMP to supported formats (#42)
|
Added GIF, TIFF and BMP to supported formats (#42)
|
||||||
Filenames slugifications (#28, #31, #9, #8)
|
Filenames slugifications (#28, #31, #9, #8)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
kcc.py
2
kcc.py
@@ -16,7 +16,7 @@
|
|||||||
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
#
|
#
|
||||||
__version__ = '2.8'
|
__version__ = '2.9'
|
||||||
__license__ = 'ISC'
|
__license__ = 'ISC'
|
||||||
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>'
|
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>'
|
||||||
__docformat__ = 'restructuredtext en'
|
__docformat__ = 'restructuredtext en'
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
#
|
#
|
||||||
__version__ = '2.8'
|
__version__ = '2.9'
|
||||||
__license__ = 'ISC'
|
__license__ = 'ISC'
|
||||||
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>'
|
__copyright__ = '2012-2013, Ciro Mattia Gonano <ciromattia@gmail.com>'
|
||||||
__docformat__ = 'restructuredtext en'
|
__docformat__ = 'restructuredtext en'
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ class MainWindow:
|
|||||||
}
|
}
|
||||||
self.optionlabels = {
|
self.optionlabels = {
|
||||||
'Aepub_only': "Generate EPUB only",
|
'Aepub_only': "Generate EPUB only",
|
||||||
'Bcbz_only': "Generate CBZ (skip EPUB/Mobi generation)",
|
'Bcbz_only': "Generate CBZ only (skip EPUB/Mobi generation)",
|
||||||
'Cmangastyle': "Manga mode",
|
'Cmangastyle': "Manga mode",
|
||||||
'Dnopanelviewhq': "Disable high quality Panel View",
|
'Dnopanelviewhq': "Disable high quality Panel View",
|
||||||
'Eimage_preprocess': "Disable image optimizations",
|
'Eimage_preprocess': "Disable image optimizations",
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -15,7 +15,7 @@ use_setuptools()
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
NAME = "KindleComicConverter"
|
NAME = "KindleComicConverter"
|
||||||
VERSION = "2.8"
|
VERSION = "2.9"
|
||||||
MAIN = "kcc.py"
|
MAIN = "kcc.py"
|
||||||
|
|
||||||
includefiles = ['README.md', 'MANIFEST.in', 'LICENSE.txt', 'comic2ebook.ico', 'comic2ebook.icns']
|
includefiles = ['README.md', 'MANIFEST.in', 'LICENSE.txt', 'comic2ebook.ico', 'comic2ebook.icns']
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ sys.path.insert(0, 'kcc')
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = "KindleComicConverter",
|
name = "KindleComicConverter",
|
||||||
version = "2.8",
|
version = "2.9",
|
||||||
author = "Ciro Mattia Gonano",
|
author = "Ciro Mattia Gonano",
|
||||||
author_email = "ciromattia@gmail.com",
|
author_email = "ciromattia@gmail.com",
|
||||||
description = "A tool to convert comics (CBR/CBZ/PDFs/image folders) to MOBI.",
|
description = "A tool to convert comics (CBR/CBZ/PDFs/image folders) to MOBI.",
|
||||||
|
|||||||
Reference in New Issue
Block a user