Image Magic
70 points Hard

It looks like someone messed up my picture! Can anyone reorganize the pixels? The python module PIL (Python Imaging Library) might be useful! https://mega.nz/#!OKxByZyT!vaabCJRG5D9zAUp7drTekcA5pszu67r_TbQMtxEzqGE

Update: I think whoever messed up my image took every column of pixels and put them side by side. Update: I think the width of the image was 304 before they messed with it.

Flag
Rating 4.63
5
4
3
2
1

Discussion

Hehe funny how today's AI tools can analyze and edit the file by itself... Programming isn't a mandatory requirement lol

P.S.: It's height = 304, not width dammit! X(

0

Hint, get every pixel, put in a right size im in order.

0

Nice challenge! Really cool to try a new library!

0

Thanks

0

hint:

img.load() turns your image into a list, and img.put_data(that_list_from_img_load) puts that list into an image

3
Protected
0

.py ;)

0
Protected
0

As well as OpenCV did it.

divide width~ flip~ rotate~

0
Protected
0