• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java2D to Jpeg in Server App  RSS feed

 
F. Gerson
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey All,
I'm writing a web based application and would like to use Java2D to create jpegs to be rendered in client browsers.
I hoping to be able to create images with Rectagle, Line and Text components, whose properties are based on application data, and then render those components into a jpeg that gets served back to the client.
Is this possible? Can anybody help me with this?
Thanks,
Fred
 
Nicholas Turner
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use the JPEGImageEncoder method of the com.sun.image.codec.jpeg package.
Check out Java2D Graphics book by oreily
isbn: 1-56592-484-3 on amazon.com
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!