Solved

Help me about image in java

Posted on 2003-11-29
5
196 Views
Last Modified: 2010-03-31
please help me, the experts
i want to save file . BMP in java language but i don 't know i should to do.
my program have the button to draw the line or rectangular and the circle in jpanel when i draw it i want to save this in to the BMP fotmat please suggest me to do this and when i want to load this file ,how should i do?
thank you so much.
arihandro
arihandro@maildozy.com
0
Comment
Question by:arihandro
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 63 total points
ID: 9842787
Try the following with bmp instead of jpg or png:

http://javaalmanac.com/egs/javax.imageio/Graphic2File.html?l=rel
0
 
LVL 92

Assisted Solution

by:objects
objects earned 62 total points
ID: 9843294
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 9845181
If you download these files and place them as indicated, your imageio packes will be be extended to be able to read and write bmp:

http://www.mms-computing.co.uk/uk/co/mmscomputing/imageio/bmp/index.php
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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.

820 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