artificialguybr commited on
Commit
f19abfb
1 Parent(s): 7092d06

Update image_processing.py

Browse files
Files changed (1) hide show
  1. image_processing.py +2 -2
image_processing.py CHANGED
@@ -1,8 +1,8 @@
1
  from PIL import Image
2
 
3
  DITHER_METHODS = {
4
- "None": ImageDither.NONE,
5
- "Floyd-Steinberg": ImageDither.FLOYDSTEINBERG
6
  }
7
 
8
  QUANTIZATION_METHODS = {
 
1
  from PIL import Image
2
 
3
  DITHER_METHODS = {
4
+ "None": Image.Dither.NONE,
5
+ "Floyd-Steinberg": Image.Dither.FLOYDSTEINBERG
6
  }
7
 
8
  QUANTIZATION_METHODS = {