File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Creating an image and Drawing to it. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Creating an image and Drawing to it." Watch "Creating an image and Drawing to it." New topic
Author

Creating an image and Drawing to it.

Madhur Baheti
Greenhorn

Joined: Sep 18, 2004
Posts: 4
Hi.Using a component's graphics context, you usually draw shapes on the component. How can i draw to an image. Suppose i want to draw a circle.But rather than displaying it on a window, I want it to be drawn as a gif image with a white background, how can i do that? The image does not exist and I want to create it from scratch.
Thank You.
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating an image and Drawing to it.