codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Saving Bufferedİmage as Gif [64x64]  metan at 05:28 on Friday, April 07, 2006
 

Hi to all I am designing an symbol drawer application that draws engineering symbols where they are complex symbols so that the drawing screen of my application panel is large to paint detailed. Well when user draws on the screen after every mouse relase action happened, the drawing in the screen is painted to a buffered image.
My question is. there are saave and load buttons. When user clicks the save button I want user to enter the file name and i want to save the big buffered image to a gif file where the size is 64 X 64 which should be fixed so that it will be used in another application.

Any suggestions and solutions are highly appriciated.
Thanx
metan

  Re: Saving Bufferedİmage as Gif [64x64]  metan at 05:44 on Friday, April 07, 2006
 

I thought i should use a gif encoder but dont know how to do it.

best regards
metan.

  Re: Saving BufferedĂťmage as Gif [64x64]  crwood at 06:50 on Friday, April 07, 2006
 

These exist and you can find out where to buy them by searching on google. An alternative is to save the drawing as a "png" image. There are no copyright problems with "png" and you can read/load them from and write/save them to file with the ImageIO class. Also, you can use a JFileChooser to allow the user to navigate to a desired folder and to enter a file name for saving the image.

  Re: Saving Bufferedİmage as Gif [64x64]  metan at 10:13 on Friday, April 07, 2006
 

I ve found an encoder class but i dont know if it is useful or not.
Check this out
http://jmge.net/java/gifenc/


  Re: Saving BufferedĂťmage as Gif [64x64]  crwood at 23:21 on Friday, April 07, 2006
 

Try it out.

  Re: Saving Bufferedİmage as Gif [64x64]  metan at 10:14 on Sunday, April 09, 2006
 

=]








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Please can someone show me how to make a java box pop upand display personal information!
•  jslider - paint track
•  Re: convert minutes into hours and minutes
•  File handle problem
•  Link Capture, help needed
•  Re: java app auto web update..
•  IE Only comeback
•  ` Error Code 64: Host not available ` - Error when accessing ASP Appln
•  Re: dynamic crystal report generation


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007