Solved

Save canvas as a BMP file jdk1.2

Posted on 2001-07-29
5
256 Views
Last Modified: 2010-08-05
 Hello there, I would like to save a white canvas with some colored lines, boxes, circles in it (a whiteborad) as a BMP file.

  I am using jdk 1.2. Any help (web-sites, code snipplets, etc) is greatly appreciated.

    Thanks in advance.

0
Comment
Question by:girionis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 27

Accepted Solution

by:
rrz earned 100 total points
ID: 6332050
Look at
http://java.sun.com/products/java-media/jai/iio.html
 or if you can go with .gif  look at GifEncoder at
http://acme.com 
0
 
LVL 27

Expert Comment

by:rrz
ID: 6332069
that was supposed to be http://www.acme.com/java/software/
0
 
LVL 4

Expert Comment

by:Neutron
ID: 6332105
Try out this class with source code and an example.

http://www.holtsoft.com/java/extras/home.html

Additionally, class saves BMP with minimum number of colors.
It is free for non-commercial use.

Greetings,
    Ntr:)
0
 
LVL 4

Expert Comment

by:Neutron
ID: 6332108
Btw, this info is for free too :-)

Greetings,
    Ntr:)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question