datamatrix generator return grayscale with alpha layer
This commit is contained in:
parent
f79ed45dd3
commit
cb72d27810
|
@ -86,4 +86,4 @@ def dmxcreate(value):
|
|||
|
||||
# Return grayscale image with transparency
|
||||
img.putalpha(ImageOps.invert(img).convert('L'))
|
||||
return img.convert('L')
|
||||
return img.convert('LA')
|
||||
|
|
Loading…
Reference in New Issue