I am trying to do image processing using C. However, I am a complete novice at this. Can anyone please tell me about a C library(or a similar program etc) to read JPEG (or other) image files and store the data thus obtained. Please help me in any way you can.
07-25-2006, 05:36 PM
The JPEG code is free on their site or once was. Basically, you want to process a "standard" image as a RGB array (one long char array containing red followed by green followed by blue for each pixel in the image). There are reasons to use other resolutions and formats, but most of the basics can be done in this way.
http://www.xfig.org/art3.html is a link that seems to have the jpeg group's (well the g in jpeg IS group but you know what I mean) C code. If you are on windows, you will have to find an un-tar (I recommend the free powerarchiver utility, version 6). You may have to search around to find a working version but its definately out there on the web.