How to use the libjpeg.lib library in C If you want to integrate the JPEG picture feature in your application, IGL provides a good linker if you use it, you can achieve the effect of half the power. Because this function library is OpenSource, we don't have to worry about software copyright issues! (Oh, after all, we must respect the software results of others). You can download the latest function library from the web, download the address: http://www.ijg.org I will introduce the entire integration process of the development application that uses VC 6.0 using the libjpeg-6b version. 1. Download the latest function library, decompression into a directory, for example: C: / TEMP / JPEGLIB-6B / 2, generate header file jconfig.h, newly built a file named jconfig.h, copy program library JConfig .vc content into the original file. 3. Enter the command line mode Run-> cmd, then execute the NMAKE -F Makefile.vc to generate the required libjpeg.lib library. 4. Create your own application with VC 6.0, join the extern "c" {#include "jpeglib.h"} because the function library is written in the C language, remember to use EXTERN packages all compile the pre-processing file, otherwise it will generate a lot of unresolved link error when compiling connections. After the above steps we can call the functions provided in the library function in your application. I hope that the above methods can help those who will use this libjpeg.lib or encounter problems in the use process!