Improved color detection (#1003)
* Improved color detection * use pure python --------- Co-authored-by: Alex Xu <alexkurosakimh3@gmail.com>
This commit is contained in:
1 parent
e8d05c16aa
commit
1fa5a5b19b
2 files changed
+33
-36
No files matched your search
@@ -647,7 +647,7 @@ def imgFileProcessing(work):
|
||||
img.autocontrastImage()
|
||||
img.resizeImage()
|
||||
img.optimizeForDisplay(opt.reducerainbow)
|
||||
if opt.forcecolor and workImg.color:
|
||||
if opt.forcecolor and img.color:
|
||||
pass
|
||||
elif opt.forcepng:
|
||||
img.quantizeImage()
|
||||
|
||||
Reference in new issue
Block a user