Solved

.jpg -> .dib (or .bmp)

Posted on 2003-12-05
6
335 Views
Last Modified: 2013-11-19
I'm working on a program that downloads images from a webcam and compiles them into an avi file.  It's almost done ... however, there's one part that I'm having trouble with.  The files that get posted are jpg images ... and to work with .avi files I need to be able to either convert the images to bitmaps or have some way of extracting rgb colors out of them.  If anyone has any classes written that hande such a task, or if anyone has any suggestions or knows of any good references on the jpg file format, I would love to hear from you :)
Thanks,
James
0
Comment
Question by:CUSavior
  • 2
  • 2
6 Comments
 
LVL 15

Accepted Solution

by:
jimmack earned 125 total points
ID: 9886054
Not really my field, but you could do worse than have a look at the JIMI APIs (http://java.sun.com/products/jimi/).

Ironically, most of the previous questions seem to deal with conversions the other way round (bmp -> jpg) ;-)

0
 
LVL 92

Expert Comment

by:objects
ID: 9886086
Java includes standard support decoding jpeg images.
0
 
LVL 15

Expert Comment

by:jimmack
ID: 9886096
If the decoding includes translation to BMP, then that would explain why I couldn't find the other questions ;-)
0
 
LVL 92

Assisted Solution

by:objects
objects earned 125 total points
ID: 9886103
No need to encode as bmp, just access the pixels from the Image.
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

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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…
The viewer will learn how to implement Singleton Design Pattern in Java.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

749 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