Solved

.jpg -> .dib (or .bmp)

Posted on 2003-12-05
6
339 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
[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
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
login jsp example 24 104
Is there a simpler dropbox system? 10 53
Eclipse for Java EE development 2 68
How does initial implicit objects  are set up in JSP? 7 40
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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.
Learn how to set up basic frames and paths in Prezi and understand the open space that Prezi allows you to create presentations in.

734 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