Hard Live

Image Magic

70 points

1337 Solves

Programming

Hard

intelagent moderator badge ctflearn++ badge

Community Rating: 4.62 / 5

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.

First 10 Solvers

Rank Username
6 blackndoor
7 niclev20
8 joshualaurencio
9 shiet
10 hanto

  • DocMcCoy

    Nice one! You'll need PIL, getpixel, putpixel, and some math ;)

  • ebouteillon

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

    • intelagent moderator badge ctflearn++ badge

      Protected

      [REDACTED] This comment is only shown to users who have solved this challenge.

    • Caillou

      Protected

      [REDACTED] This comment is only shown to users who have solved this challenge.

  • bigcatfacilitator

    Fairly straight forward to understand with the clues given. Not so straight forward to get it to work correctly. I used numpy and cv2

  • power_will

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • BRSwift

    Easy concept to get, but it is a pain to code. Good challenge.

  • IronLarreh_

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

    • IronLarreh_

      Protected

      [REDACTED] This comment is only shown to users who have solved this challenge.

  • Gombrich

    For me, this required very basic knowledge of PIL and numpy. Don't overthink it!

  • Caillou

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • emo94

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • Xelpip

    Cool but very frustrating =)

  • faceless_jack

    Its supposed to be 304 height instead of 304 width. Was squinting my eyes for like an hour like a madman.

    • bionicrjk

      ^^^ You can also solve this by converting to PNG and changing image dimensions in the IHDR chunk... assuming you knew this beforehand

  • 4bottlevodka

    I loved it, this challenge is the first ever one i solved without looking at writeups (I just started today.)