Download a package jpegsr8b.zip from the site:
http://www.ijg.org/
and expand its content in this directory. To compile it, follow the instruction below.

1. Open makefile.bcc with an editor and modify the variable definition of CC
   as follows.
   CC= bcc32

2. Execute the commands as follows.
   > copy jconfig.bcc jconfig.h
   > touch jconfig.h
   > make -f makefile.bcc -DOS2=1
   > ren libjpeg.lib libjpeg.bcc.lib

To build a library for Microsoft C, execute the command below.
   > nmake -f makefile.vc nodebug=1
