A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
Convert BMP Files to JPG
Ravi Kiran Tadiparthi
Joined: Dec 30, 2003
Sep 15, 2005 09:25:00
I am looking for an easier way to convert BMP files to JPG files dynamically inside a Java program. Can anyone provide me with some code for doing this?
Thanks in Advance.
Thanks in Advance,<br />Ravi.
Joined: Feb 07, 2004
Sep 15, 2005 13:22:00
I do not have such code examples in exact form you need, but I can give you an idea:
1. check javax.imageio.*
2. find a provider for input image and use a reader on it
3. then use writer for target image
Retire your iPod and start with HD Android music player
| Minimal J2EE container is
Light weight full J2EE stack
and build tool
| Co-author of "Windows programming in Turbo Pascal"
Joined: Mar 22, 2005
Sep 15, 2005 13:33:00
If you want to support older JVMs as well, there's
, which can read and write the formats you mention.
Ping & DNS
- my free Android networking tools app
It is sorta covered in the
JavaRanch Style Guide
subject: Convert BMP Files to JPG
upload system with ajax/java
Displaying QuickTime .pic images
How to place image on JButton
HTTP Status 404 The requested resource is not available
convert image(.jpg) in to binary format using java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014