diff options
-rw-r--r-- | README.md | 5 | ||||
-rwxr-xr-x | kcc/comic2ebook.py | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md index b223b74..f8cec3a 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You can find the latest released binary at the following links: ## INPUT FORMATS `kcc` can understand and convert, at the moment, the following file types: -- PNG, JPG +- PNG, JPG, GIF, TIFF, BMP - Folders - CBZ, ZIP - CBR, RAR *(With `unrar` executable)* @@ -125,8 +125,9 @@ 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) 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) - + ## COPYRIGHT diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index bebbcb3..b3d7f4a 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -276,6 +276,10 @@ def getImageFileName(imgfile): if filename[0].startswith('.') or\ (filename[1].lower() != '.png' and filename[1].lower() != '.jpg' and + filename[1].lower() != '.gif' and + filename[1].lower() != '.tif' and + filename[1].lower() != '.tiff' and + filename[1].lower() != '.bmp' and filename[1].lower() != '.jpeg'): return None return filename |