Solved

Save canvas as a BMP file jdk1.2

Posted on 2001-07-29
5
249 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now