Using JPEG library to read/write images on
Windows - instruction and sample programs:
-
Download jconfig.h,
jmorecfg.h,
jpeglib.h,
jpeg.lib,
jpeg2jpeg.c,
testimg.jpg
and save in the same directory.
-
Double click on jpeg2jpeg.c to launch Microsoft Visual C++.
-
From Projection->Setting->Link, add jpeg.lib in Object/library modules.
-
Press Ctrl+F5 to compile and run.
Note: