Image is black when bbox is used
mgalgs opened this issue · comments
Mitchel Humpherys commented
I get good images when I do a full screen grab via ImageGrab.grab()
, but if I add a bbox (ImageGrab.grab(bbox=bbox)
) the resulting image (when saved with im.save('/tmp/myimage.png')
) is just all black pixels (though of the correct dimensions).
I'm using pyscreenshot v2.2 on Manjarao Linux running X11 and scrot
. Any other details I can provide to help troubleshoot?
Mitchel Humpherys commented
Switched to maim
and now it's working! Closing since this doesn't appear to be related to pyscreenshot
.