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
Solved

Save canvas as a BMP file jdk1.2

Posted on 2001-07-29
5
254 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
  • 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
 
LVL 92

Expert Comment

by:objects
ID: 6332630
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jar file executable 12 58
map related example 6 55
running on tomcat not jboss eap 7.0 3 18
American Express @Work site and Java 4 22
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

856 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