I\'m trying to read a binary file (8 bit RGB tuples) in Python, do some conversion on it and then write it as a png image. I\'m doing the following:
typeinfo = n