Solved

Help me about image in java

Posted on 2003-11-29
5
197 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
[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
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jboss wildfly 10.1 10 619
java example issue 5 66
Running JavaFX on the Raspberry Pi 27 292
Netbeans and org.apache.commons.lang3 issue 3 55
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

751 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