468,514 Members | 1,035 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,514 developers. It's quick & easy.

how to "corrupt" the binary of a jpeg file?

hello,
i'm from paris and i study graphic design.i'm not familiar with jpeg compression, decoding... i had few searchs on google though.
i would like to learn how to manipulate the binary code of a standard jpeg file for visual, aesthetic, "artitistic" purposes for a new project.
is there any way, program, to read the "heart" of an image and rewrite it to "corrupt" the file, to give it a new aspect? i mean transform it from the inside, no photoshop & co...?
thx
Nov 28 '09 #1
2 6987
Frinavale
9,735 Expert Mod 8TB
A friend of mine took a course on this in university.

It's a lot harder than you think. Unless you have a very strong programming background and you have a concrete understanding about how to manipulate images (there's a lot of math involved) then I would recommend that you stick with using something like Photoshop or gimp :)

-Frinny
Dec 1 '09 #2
RedSon
5,000 Expert 4TB
If you don't care about the data, just use a random number generator and insert random values randomly throughout the file. Just make sure you respect the JPG file format (http://en.wikipedia.org/wiki/JPEG) so that you don't corrupt valuable header information or it wont open properly.
Jan 11 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Stephen Oakes | last post: by
6 posts views Thread by James Yang | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.