Image Magic

Programming/Python

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.

As the question gives us a mega link so after downloading that image we see that, the image cannot be viewed. So we have to use the lead given by question and use PIL and as it already give us a hint that someone has altered the pixel order in this image so if we changed the image as suggested then we may be able to recover the image. for that we write a python script in which we resize the image to (304,92) using PIL.

Image Magic

And lucky us we get flag.