Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning Java 2
|
BOOK: Beginning Java 2
This is the forum to discuss the Wrox book Beginning Java 2, SDK 1.4 Edition by Ivor Horton; ISBN: 9780764543654
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Java 2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 11th, 2004, 12:01 AM
Registered User
 
Join Date: May 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default saving images and shapes together

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...

 
Old June 12th, 2004, 08:23 AM
Authorized User
 
Join Date: Sep 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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







Similar Threads
Thread Thread Starter Forum Replies Last Post
saving images that are displayed on applets Kiran Kumar Java Basics 0 April 5th, 2006 01:21 AM
Saving images Sudoku Visual Basic 2005 Basics 0 March 24th, 2006 11:44 AM
Saving Images in SQL database using VB ASP.Net louie001 ASP.NET 1.0 and 1.1 Basics 1 November 24th, 2005 04:05 PM
Saving,printing and editng images through vb.net Paru General .NET 2 April 2nd, 2005 12:12 PM
prevent saving of images silver_cuts Classic ASP Basics 16 June 29th, 2004 02:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.