1
0
mirror of https://github.com/ciromattia/kcc synced 2026-02-21 11:39:08 +00:00

add avif input support (#1019)

* add avif input support

* add avif
This commit is contained in:
Alex Xu
2025-07-09 11:27:58 -07:00
committed by GitHub
parent 07ef11013a
commit e7a07377ef
5 changed files with 8 additions and 8 deletions

View File

@@ -116,10 +116,10 @@ def dependencyCheck(level):
missing.append('python-slugify 1.2.1+')
try:
from PIL import __version__ as pillowVersion
if Version('5.2.0') > Version(pillowVersion):
missing.append('Pillow 5.2.0+')
if Version('11.3.0') > Version(pillowVersion):
missing.append('Pillow 11.3.0+')
except ImportError:
missing.append('Pillow 5.2.0+')
missing.append('Pillow 11.3.0+')
if len(missing) > 0:
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
sys.exit(1)