- Locker537
- |
- Exalted Heroic Member
Posted by: Locker537
5 lines (of code), to get the message.
https://gist.github.com/3671583
If anyone wanted to know how to solve the first part (the image), you need to get the (r,g,b) values for the "odd" pixels in the lower right hand corner of the image. There are two rows of 86 pixels making 2 by 2 squares. This leaves you with 172 pixels, but only every fourth pixel matters (the unique ones). Iterate through them, convert the r, g, and b values from integers to characters, append it together and you get your first message.
You can see an implementation in the link above.
Here is my post on page 11 for you, Verachi.
[Edited on 09.08.2012 10:24 AM PDT]