I have a muti lined .txt file with image data like this:
(198, 252, 247) (255, 255, 250) (254, 253, 248) (251, 252, 246) (247, 248, 240) ...
(100, 144, 247) (255, 200, 250) (254, 253, 248) (251, 252, 246) (247, 248, 240) ...
How do I read these data into tuples?
lst = [((198, 252, 247), (255, 255, 250)), (second line), (thrid) ...]
and eventually draw each line back into an image file using the Image
module