Pixelated

Download 2 file gambar dari picoctf dan letakan dalam satu folder di kalilinux Di folder tesebut, buat file python dengan nama pixelated.py Isi file dengan codingan berikut from PIL import Image img1 = Image.open(“scrambled1.png”) pixels1 = img1.load() img2 = Image.open(“scrambled2.png”) pixels2 = img2.load() flag = Image.new(“RGB”, img1.size) flagpix = flag.load() Read more…

Pixelated 

Download 2 file gambar dari picoctf dan letakan dalam satu folder di kalilinux  Di folder tesebut, buat file python dengan nama pixelated.py  Isi file dengan codingan berikut : from PIL import Image def combine_images(image1_path, image2_path, output_path): # Open the images image1 = Image.open(image1_path) image2 = Image.open(image2_path) # Ensure both images have the same size if image1.size != Read more…