The forum has been archived
While the forum may not be active, the community still lives on Discord! Click here to join us.

Solve This Image

Games! On a forum!
Post Reply
User avatar
Sebastian Lawe
Moderator
Posts: 2534
Joined: October 17th, 2012, 7:58 am
Design Competitions Voted: 0
Contact:

Solve This Image

Post by Sebastian Lawe »

This image contains a hidden message.
Image
This is your only clue: http://en.wikipedia.org/wiki/Web_colors
User avatar
Sebastian Lawe
Moderator
Posts: 2534
Joined: October 17th, 2012, 7:58 am
Design Competitions Voted: 0
Contact:

Post by Sebastian Lawe »

Le bump. Can anybody figure this out?
User avatar
Wazi
Member
Posts: 947
Joined: October 8th, 2012, 7:50 pm

Post by Wazi »

I have to use wikipedia for a clue?

EHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
User avatar
Sebastian Lawe
Moderator
Posts: 2534
Joined: October 17th, 2012, 7:58 am
Design Competitions Voted: 0
Contact:

Post by Sebastian Lawe »

Wazi wrote:I have to use wikipedia for a clue?

EHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
A youtube channel called numberphile might also have some sort of clue.
User avatar
Entity
Editorial Staff
Posts: 3097
Joined: November 29th, 2012, 9:41 pm
Design Competitions Voted: 1

Post by Entity »

Are there intentionally three different shades of each color in the image?

I spent an hour researching and then writing a program to calculate all 4+ billion permutations and they were all gibberish!

They all look something like this:

Zik!qskuskqs!qscis) {ku!cis{ {smskmk!mksikke)!Qk!ycku)!I!kq{!is.
:crate: :crate: :crate: :crate: :crate: :crate:
User avatar
Sebastian Lawe
Moderator
Posts: 2534
Joined: October 17th, 2012, 7:58 am
Design Competitions Voted: 0
Contact:

Post by Sebastian Lawe »

Entity wrote:Are there intentionally three different shades of each color in the image?

I spent an hour researching and then writing a program to calculate all 4+ billion permutations and they were all gibberish!

They all look something like this:

Zik!qskuskqs!qscis) {ku!cis{ {smskmk!mksikke)!Qk!ycku)!I!kq{!is.
I'll give a clue. Hexadecimal encoding can be used to encode just about anything. It just so happens hexadecimal values are used for colours too.
User avatar
Entity
Editorial Staff
Posts: 3097
Joined: November 29th, 2012, 9:41 pm
Design Competitions Voted: 1

Post by Entity »

Sebastian Lawe wrote:I'll give a clue. Hexadecimal encoding can be used to encode just about anything. It just so happens hexadecimal values are used for colours too.
Yes I know :P But each stripe in the above image (when you zoom in) has 2-4 different colors/hex values.

Image

I calculated all 4 billion of the possible permutations of these hex values (as ASCII characters) and none of them made any sense
:crate: :crate: :crate: :crate: :crate: :crate:
User avatar
Sebastian Lawe
Moderator
Posts: 2534
Joined: October 17th, 2012, 7:58 am
Design Competitions Voted: 0
Contact:

Post by Sebastian Lawe »

Entity wrote:Yes I know :P But each stripe in the above image (when you zoom in) has 2-4 different colors/hex values.

Image

I calculated all 4 billion of the possible permutations of these hex values (as ASCII characters) and none of them made any sense
I have a feeling the image got compressed by the image host (its supposed to be a solid colour). I can't seem to re-translate it either. I'll throw you a bone and output another image.
Image
User avatar
Entity
Editorial Staff
Posts: 3097
Joined: November 29th, 2012, 9:41 pm
Design Competitions Voted: 1

Post by Entity »

[media=youtube]Fgzjv1HnDkE[/media]

c:
:crate: :crate: :crate: :crate: :crate: :crate:
User avatar
Sebastian Lawe
Moderator
Posts: 2534
Joined: October 17th, 2012, 7:58 am
Design Competitions Voted: 0
Contact:

Post by Sebastian Lawe »

Entity wrote:[media=youtube]Fgzjv1HnDkE[/media]

c:
You got it!
Want another decoding challenge? It will use integers instead of hexadecimal.
User avatar
Entity
Editorial Staff
Posts: 3097
Joined: November 29th, 2012, 9:41 pm
Design Competitions Voted: 1

Post by Entity »

Woot! Yeah, let's try it :D
:crate: :crate: :crate: :crate: :crate: :crate:
User avatar
Sebastian Lawe
Moderator
Posts: 2534
Joined: October 17th, 2012, 7:58 am
Design Competitions Voted: 0
Contact:

Post by Sebastian Lawe »

Entity wrote:Woot! Yeah, let's try it :D
Alright.
Here you go!
10411611611258474711911911946121111117116117981014699111109471199711699104631186166839777488785815286115
User avatar
kroltan
Developer
Posts: 285
Joined: October 8th, 2012, 6:57 pm
Design Competitions Voted: 1

Post by kroltan »

Please hint: should we operate on that as a string or as a number?
User avatar
DvChayz
Well-Known Member
Posts: 2922
Joined: December 14th, 2012, 11:11 pm

Post by DvChayz »

remember when i solved the other one (http://onemoreblock.com/forum/threads/y ... post-19834)
good times
User avatar
kroltan
Developer
Posts: 285
Joined: October 8th, 2012, 6:57 pm
Design Competitions Voted: 1

Post by kroltan »

Post these things on Programming puzzles and Code Golf!
User avatar
kroltan
Developer
Posts: 285
Joined: October 8th, 2012, 6:57 pm
Design Competitions Voted: 1

Post by kroltan »

Got it!

The solution code, in Python.
I didn't solve it alone, Seb helped me by hinting that it's a string of ASCII codes, that may or not have 3 digits.

Code: Select all

def split_chars(string):
    def getc(i, s):
        return string[i:i+s]
    result = []
    index = 0
    while index < len(string):
        if int(getc(index, 3)) >= 256:
            result.append(getc(index, 2))
            index += 2
        else:
            result.append(getc(index, 3))
            index += 3
    return result
  
if __name__ == '__main__':
    number = "10411611611258474711911911946121111117116117981014699111109471199711699104631186166839777488785815286115"
    parts = split_chars(number)
    chars = map(lambda x: chr(int(x)), parts)
    string = "".join(chars)
    print(string)
I now challenge you to discover the secrets of the following image (download it because it's tiny):
The answer to life, the universe and everything may be doubled and subtracted 20 for a useful hint...
Image
User avatar
Entity
Editorial Staff
Posts: 3097
Joined: November 29th, 2012, 9:41 pm
Design Competitions Voted: 1

Post by Entity »

The quick brown fox jumps over the lazy dog to shoot lasers at Martian aliens who plan on destroying Earth with radioactive cookies and evaporating all the oceans with body heat. Cool, huh?
:)

Had to ask kroltan for some clues, and then turned out it was just a silly error in my code xP

My ruby code:

Code: Select all

require 'chunky_png'
require 'base64'

image = ChunkyPNG::Image.from_file('image.png')

base64Encoded = ""

(0..image.dimension.height-1).each do |y|
    (0..image.dimension.width-1).each do |x|
        c = ChunkyPNG::Color.r(image[x,y])

        if c != 0
            base64Encoded += c.chr
        end
    end
end

print Base64.strict_decode64(base64Encoded) + "\n"
:crate: :crate: :crate: :crate: :crate: :crate:
Post Reply