Re: Save a canvas as a GIF file

1999-01-25 Thread Mike Mondragon
You can use the class java.awt.image.PixelGrabber to "grab" the pixels from an image into an array of integers. Remember that a java pixel is just an integer with the high bits being "alpha" going down from Red then Green then Blue ... RGB. Here's the code snippet for monkeying the pixels from t

Save a canvas as a GIF file

1999-01-23 Thread Maura Melotti
HI, this is my problem: I would like to save a white canvas with some colored lines, boxes, circles in it (a whiteborad) as a GIF or JPG file. Can someone help me ??? Thank you very much. -- Maura Melotti E-mail: [EMAIL PROTECTED]