473,508 Members | 2,509 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

1 New Member
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 7194
Frinavale
9,735 Recognized Expert Moderator Expert
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 Recognized Expert Expert
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

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

Similar topics

4
19354
by: Stephen Oakes | last post by:
I am trying to upload an image to a server, but I get this warning: Warning: imagecreatefromjpeg(): 'filename' is not a valid JPEG file The error occurs when I am trying to create a thumbnail...
3
1963
by: N. Graves | last post by:
Hello, I don't understand this error message." Error accessing File. Network Connection may have been lost." I'm not using any network connection for the database. In the VBA editor is goes...
0
4096
by: humbleaptience | last post by:
I'm migrating from 1.1 to 2.0. This code worked fine in 1.1 , but now it throws an exception. public static int LLtoUTM(int datumIn, int datumOut, double p_lat, double p_lon,ref double...
21
21236
by: cman | last post by:
does anyone know why i can't generate images with: header("Content-type:image/jpeg"); imagejpeg($img_number); i've tried different examples but i always get a text output as if the header...
5
5565
by: darrel | last post by:
We're getting this error on a page that uses a particular User Control we created: "An Error has Occured retrieving the news item. Attempted to read or write protected memory. This is often an...
1
2610
by: Dameon99 | last post by:
Hi, I have just spent many hours debugging my code and now when I run it I get the following error: "An access violation (Segmentation fault) raised in your program" I have researched on this...
0
1792
by: Mike | last post by:
How can i handle "attempted to read or write protected memory. this is often an indication that other memory is corrupt" I use VS 2005 framework 2.0 On the server explorer window I try to open...
6
7978
by: James Yang | last post by:
"bad page", especially in table, is a risk for database maintenance. The particular access attempt for corrupt blocks may not occur often, and corrupt DB2 blocks are not recognized during a...
3
10336
by: moltendorf | last post by:
I copied the files from my "test" database on my old server (MySQL was not running) to my new server ("./mysql/data/test" folder), and after starting the server, SHOW TABLES; shows all of the tables...
0
7231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7133
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5643
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3214
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
435
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.