All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General > Cryptography
Colorful Noise (Posted on 2005-04-25) Difficulty: 3 of 5

See The Solution Submitted by Jay Schamel    
Rating: 4.0000 (11 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: But the colors? | Comment 13 of 17 |
(In reply to But the colors? by Sam)

Sam asked:

<i>So where do the colors come from? What's the encoding from sound to image? Could we have solved this any other way than just changing the file type?</i>

A bitmap image contains a color table and raw information about each pixel as it relates back to the color table.  24-bit bitmaps may be different--if I recall correctly, they store RGB data as three parts between 0-255.

I'm not sure how WMV files are encoded, but I suspect that they use raw bit information as well.  I would have thought that WMV files would be 2 dimensional (time x value) whereas bitmaps are 3 dimensional (x, y, value).  Of course in the wonderful world of computer data, 2D and 3D are easily interchanged.

You might have been able to solve it by looking at the file with a binary file viewer (like Yikes), but without knowing what WMV files look like you probably wouldn't have seen much.  As Eric already said, there's a comment tag at the end of the file that said what program was used to create the file and he went from there.

I'm still a bit surprised that WMV files can be so readily converted to BMPs.

  Posted by Erik O. on 2005-04-26 13:28:34
Please log in:
Remember me:
Sign up! | Forgot password

Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (5)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Copyright © 2002 - 2018 by Animus Pactum Consulting. All rights reserved. Privacy Information