White Noise
White Noise
very nice challenge but on my first try I got just crap ... Gimp starts with zero for the index what causes an off by one Error
I didn't understand the answer until reading this thread, due to the off-by-one problem - I got randomness out of highlighting prime values, but highlighting odd numbers made the bold bit quite legible, though still noisy. The actual solution, not in bold, wasn't quite readable. I then manually entered exceptions to the odd/even rule - all even numbers which I had to make it treat as odd, as follows in hex:
Based on JanB's post, I guess this is the set of numbers one less than a composite odd number.
These index values are from Python's Image module. The message at the top was written in zeros; the message at the bottom in 0xff. So it exercises both ends of the spectrum - I guess some image libraries use values from 1 to 256 then.
In any case, it sucks if different image libraries use different numbering schemes, but it's good to know about. I think there are other challenges on the site which only work with Python's scheme.
Code: Select all
['01', '08', '0e', '14', '18', '1a', '20', '22', '26', '2c', '30', '32', '36', '38', '3e', '40', '44', '4a', '4c', '50', '54', '56', '5a', '5c', '5e', '62', '68', '6e', '72', '74', '76', '78', '7a', '7c', '80', '84', '86', '8c', '8e', '90', '92', '98', '9a', '9e', 'a0', 'a4', 'a8', 'aa', 'ae', 'b0', 'b6', 'b8', 'ba', 'bc', 'c2', 'c8', 'ca', 'cc', 'ce', 'd0', 'd4', 'd6', 'd8', 'da', 'dc', 'e0', 'e6', 'ea', 'ec', 'f2', 'f4', 'f6', 'f8', 'fc', 'fe']
These index values are from Python's Image module. The message at the top was written in zeros; the message at the bottom in 0xff. So it exercises both ends of the spectrum - I guess some image libraries use values from 1 to 256 then.
In any case, it sucks if different image libraries use different numbering schemes, but it's good to know about. I think there are other challenges on the site which only work with Python's scheme.
Funny challenge. I ran into the same off-by-one problem. After changing the prime palette entries didn't work out, I simply tried to change the palette entries of the pixels near the upper and lower letters. I was hoping to exclude the non-message pixel that way... and it worked. After 15 min the solution appeared automagically
- dangermouse
- Posts: 89
- Joined: Sun Jun 05, 2011 8:14 pm
- Location: deep space computing AG
- Contact:
-
- Forum Admin
- Posts: 496
- Joined: Sat May 28, 2011 9:14 am
- Location: Germany
This challenge was a great hassle for me:
I got the hint by using the index values from the IDAT chunk as colors (by deleting the PLTE chunk and changing the color mode to gray-scale). I wrote a small Java program to display the gray-scale image, it worked perfectly. Then i displayed only the 0 and 255 pixels, it also worked, i could clearly read the hint. Next i tried to display only prime (minus 1) pixels and got .. only nonsense.
So i assumed the solution must look differently. I tried a lot of things, but nothing worked. Finally i compared the data from the IDAT chunk to what Java had produced: the data was totally different. So far, I was not able to track down the reason.
I got the hint by using the index values from the IDAT chunk as colors (by deleting the PLTE chunk and changing the color mode to gray-scale). I wrote a small Java program to display the gray-scale image, it worked perfectly. Then i displayed only the 0 and 255 pixels, it also worked, i could clearly read the hint. Next i tried to display only prime (minus 1) pixels and got .. only nonsense.
So i assumed the solution must look differently. I tried a lot of things, but nothing worked. Finally i compared the data from the IDAT chunk to what Java had produced: the data was totally different. So far, I was not able to track down the reason.
Very nice indeed.
I really liked this challenge. Did it together with Vralfy.
Extremely nice that 1 and 256 were highlighted ... or else we probably would have failed.
Did it by hand, with HxD ^^
Extremely nice that 1 and 256 were highlighted ... or else we probably would have failed.
Did it by hand, with HxD ^^