Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manipulaing and Saving an image file (jpg) using a Java application

Status
Not open for further replies.

anku66

Programmer
Apr 26, 2002
3
US
ok, here's what i need to do:

i need to be able to open an image file (jpg) read pixel data, change pixel data, and save it as a file, without ever actually rendering it to the screen. in other words, there is no GUI. any ideas?
 
There are a few books available on sites like amazon (do a search for jpeg), including one with sample code in C++. I wasn't able to dig out anything on the web. Even the official jpeg group sells a book... I guess those are rather complicated specs.

If you are already familiar with those specs, the java.io package should provide you with everything you need to modify the file, without the need for a GUI. Good luck!
 
Actually, java.io is no good. Look into the Java Advanced Imaging (JAI) package from sun. I've used it, and it's pretty good.

MB.
Disclaimer:
Beware: Studies have shown that research causes cancer in lab rats.
 
it looks like i can do it wait a BufferedImage and a Raster... anybody have experience with them?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top