#!/bin/python from PIL import Image, ImageColor im = Image.new('1', (4000,4000), 'white') with open('secret_map.txt', 'r') as f: while (cl := f.readline()): painting = cl.split(" ", 1) im.putpixel((int(painting[1], 16),int(painting[0], 16)), ImageColor.getcolor('black', '1')) im.save('maybe.png') # 247CTF{0c895fb57954df7f83756e1f7718e661}