FD** - I am a Python newb as well as a stack overflow newb as you can tell. I have edited the question based on comments.
My goal is to read a set of PNG files, crea
Check if the array is writable with
>>> img.flags C_CONTIGUOUS : True F_CONTIGUOUS : False OWNDATA : True WRITEABLE : False ALIGNED : True UPDATEIFCOPY : False
If WRITEABLEis false, change it with
WRITEABLE
img.setflags(write=1)