Programmer's Wallpaper

Pages: 12
1. Read Chris's post.
2. Google search for UNIX dd.
3. Find http://en.wikipedia.org/wiki/Dd_(Unix)
4. lol'd

You won... :(
Last edited on
just tried your technique chris, can't get it to work :O it's telling me "bogus header information" when I try to open the bmp.
Bawww... Open it in a hex editor and write 0x08 0x42 0x4D 0x50 (should show up as .BMP). I think bitmaps start with 0x08; PNGs do.
alright :O I'll give it a try :P
meh I'll write a program to randomize the bmp in the morning (written in c) xD
I have written a useless program like this before and there's the result: http://i36.tinypic.com/3586yp0.jpg
0x08 0x42 0x4D 0x50 (should show up as .BMP). I think bitmaps start with 0x08; PNGs do.
...What? The BMP magic number is 42 4D 36 (BM6).
And the PNG magic number is 89 50 4E 47 (‰PNG) and then possibly a CRLF sequence.
@helios,
I thought PNGs started with 0x08? I tried opening a PNG that I had accidentally saved as JPEG and the error was that it "Starts with 0x08"...

Maybe it was the other way around..?
closed account (z05DSL3A)
PNG has an 8 byte signature: 89 50 4E 47 0D 0A 1A 0A

There are various newline characters to allow for detecting unwarranted automated newline conversions.
I got a whole bunch of them. My favorite is a painting of a light-house.
Topic archived. No new replies allowed.
Pages: 12