Closed cmooreml closed 3 years ago
Same.
I got it work. Load image from PIL. img = Image.open('xyz.jpg') img = img.convert('RGBA') img = numpy.array(img) # Inputs to blend_modes need to be numpy arrays. img = img.astype(float) . It will work. So, convert to RGBA when it is PIL image will work
Closing this since it looks like we have a solution! Thanks, @mabdullahrafique for following up on this!
Does anyone know how to apply blendmode to an JPG? I tried converting to ... but no luck.