Saving image ..??

R

rasha_cs_99

Hai all,

I want to draw text and graphics and save all these in a jpg or bmp
image?? Do you have any idea???
I've read a tuotorial that uses the package javax.media... but it makes
errors for me ( It doesnt find the package)....I've download the new
version of java but this package and specifically the class
javax.media.PlanarImage seems to be unavilable...Any help???


Thanx alot,
Alshayeb.Rasha
 
K

Knute Johnson

Hai all,

I want to draw text and graphics and save all these in a jpg or bmp
image?? Do you have any idea???
I've read a tuotorial that uses the package javax.media... but it makes
errors for me ( It doesnt find the package)....I've download the new
version of java but this package and specifically the class
javax.media.PlanarImage seems to be unavilable...Any help???


Thanx alot,
Alshayeb.Rasha

Take a look at BufferedImage and ImageIO in the API docs. I don't know
how you want to do your drawing, with code or a mouse or what. Once you
have drawn on the BufferedImage you can save it with ImageIO.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top