mirror of
https://github.com/ciromattia/kcc
synced 2026-01-04 20:39:28 +00:00
Merge from master
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user