Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2005

Tip: Looking for answers? Try searching our database.

Saving image ..??

Thread view: 
rasha_cs_99@hotmail.com - 14 Jun 2005 22:27 GMT
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
Knute Johnson - 15 Jun 2005 06:19 GMT
> Hai all,
>
[quoted text clipped - 7 lines]
> 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.

Signature

Knute Johnson
email s/nospam/knute/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.