I am working on MCB 2300 kit which has got LPC2378 processor. It has got an SD card as well. I can read, write to some text files on the card. But now I want to read some images from SD Card. When i tried to read the images, it gives back some garbage value and then the program gets hang up. I want to read the pixel information of the image. Please let me know how to do it? I am using keil uVision4 IDE
Much code available if you google.
libjpeg - reads JPEG files. libpng - reads PNG files. libtiff - reads TIFF files. giflib - reads GIF files.
Do you see any pattern? Shouldn't be too hard to locate libraries for other image formats too.
Yes - but what happened with GIF ?!
I think giflib is the oldest. It really was many years since gif was at the top of the food chain. They probably hadn't figured out then that it's an advantage to have 'lib' first if you build for Unix machines, where you link against libxx.a. Looks so bad to have giflib.c and build libgif.a or maybe libgiflib.a.