Skip to content
forked from winlibs/libjpeg

A free library for JPEG image compression

Notifications You must be signed in to change notification settings

anatolyza/libjpeg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libjpeg

Available prebuilt libraries

All prebuilt libraries are available in the php-libs repositories

Only static library (.lib) are available for now.

Building for PHP

Requirements

  • libjpeg sources, fetch our patched (see below) version or the original sources

  • Common tools used to compile PHP

Preparing the sources

To compile libjpeg to be used with PHP (and more generally with any decent VC), the makefile has to be altered, add the /MD flag as follow (~ line 15):

CFLAGS= $(cflags) $(cdebug) $(cvars) -I. /MD

then

 copy jconfig.vc jconfig.h

Configuration

Two modes are available, debug or non debug (fully optimized).

Compilation

Release

nmake /f makefile.vc nodebug=1

Debug

nmake /f makefile.vc

About

A free library for JPEG image compression

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 71.6%
  • Shell 17.5%
  • C++ 3.2%
  • Makefile 2.9%
  • Roff 1.6%
  • SAS 0.6%
  • Other 2.6%