Re: .rar archives and image files.
Posted by Dark Tree on
Fri Jun 16th 2006 at 4:37am
646 posts
264 snarkmarks
Registered:
Apr 30th 2004
Occupation: DigiPen student
Location: USA
<span style="color: silver;">Just rename the extension from .rar to .jpg after raring. :razz: </span>
Re: .rar archives and image files.
Posted by reaper47 on
Sat Jun 17th 2006 at 3:42pm
2827 posts
1921 snarkmarks
Registered:
Feb 16th 2005
Location: Austria
Why exctly do you want to store data in a JPG? Are you a working for the CIA or something?
Re: .rar archives and image files.
Posted by Crono on
Sun Jun 18th 2006 at 5:40am
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Needless Computer Implementation Note, Ignore unless you're interested. You've been warned:
That would be noticeable in larger image sizes. Since it'd need to be unique, a lot of image formats kind of do a range sort of thing like color 0xXXXXXX in pixel , then have a (linked) list. Bitmaps (which Microsoft really ruined the name) work better, since there is no compression (otherwise known as rounding ranges. They do it to a certain degree of accuracy, like if it's within or - 0x00000A round it to the next nearest value in the entire picture.)
So, that's how that works. of course, PNG, GIF, JPG, BMP, TGA, TIFF, etc, all have different algorithms for rearranging the data and retrieving it.
I don't think that code trick would work very well in smaller image formats. You might need to know the message length before hand, for example. Which, is just as bad as giving the message its self because you narrowed down a very important parameter to decode it.
Otherwise, I suppose that's clever. I think personally I'd just use a quantum computer, since you'll know if the connection has been tampered with. That'd give me more comfort than hoping someone doesn't know what to look for.
Blame it on Microsoft, God does.