How is a JPG-picture coded? What is the main diffrence between a JPG and a BMP? Is it hard reading it in c++?
Gandalf the White
JPG pictures
JPEG images are coded by using the limitations of the human visual system. This involves transforming pixels to frequency components and the like. A bit too much to explain here. Visit www.jpeg.org or so for more information.
About using .JPG''s: this is very simple to do with the IJG jpeglib-6b code. If you search for jpeglib-6a or jpeglib-6b, I am sure you will find the source code of the jpeg encoder/decoder lib. Run this source through your preferred C compiler, and read the doc. It is easy to use.
There is also something called the Intel JPEG Library, which has optimized routines in it. I don''t know if it is useful, and how it works. Visit www.intel.com for that
DaBit.
About using .JPG''s: this is very simple to do with the IJG jpeglib-6b code. If you search for jpeglib-6a or jpeglib-6b, I am sure you will find the source code of the jpeg encoder/decoder lib. Run this source through your preferred C compiler, and read the doc. It is easy to use.
There is also something called the Intel JPEG Library, which has optimized routines in it. I don''t know if it is useful, and how it works. Visit www.intel.com for that
DaBit.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement