0👍
✅
The issue was I was using a version of Python Image Library (PIL), that did not support my image format. After I pip uninstall
‘ed PIL
, I added the necessary support libraries, and then reinstalled PIL
. This solved the issue.
Source:stackexchange.com