Quote:
quote:Originally posted by saiyedriyaz
hi,every one...
i have a que.i've done graphics programming in java.
i made few programs to display image on canvas and drawing shapes.
now,i want to save all these images as well shapes in a single file(either .bmp or .gif).
how to do that.can any body plz help me...
|
OK, read the part on printing and filing sketcher - chapter 16 in my book. I think you will find that the serialization of the sketch you've made will be in a format specific for the sketcher application.
But Java supports other image formats, such as JPEG and PNG
GIF is a patented technology, but the patent expires and I heard people say storing in GIF might be available for the new Java SDK version 1.5, coming summer.
I hope it will, of course we can read GIF images, but I have not reached the Image chapter yet.
I refer to that.
Keep up the good work!
Frans @ chapter 14