Jason B wrote:
> Well I kept screwing around and funny thing, this works:
>
> import sys, Image
>
> if len(sys.argv) == 2:
> print "\nReading: "+sys.argv[1]
> image_file = open(sys.argv[1], "rb")
> pixel_data = image_file.read()
>
> im = Image.fromstring("RGB", (326, 325), pixel_data, "ra
Well I kept screwing around and funny thing, this works:
import sys, Image
if len(sys.argv) == 2:
print "\nReading: "+sys.argv[1]
image_file = open(sys.argv[1], "rb")
pixel_data = image_file.read()
im = Image.fromstring("RGB", (326, 325), pixel_data, "raw", "BGR;16")
im.show()
Although I