Mozilla JPEG Encoder Project ------------------------------------------ MozJPEG improves JPEG compression efficiency achieving higher visual quality and smaller file sizes at the same time. It is compatible with the JPEG standard, and the vast majority of the world's deployed JPEG decoders. Runtime requirements: cygwin-3.3.4 or newer Build requirements: above + corresponding devel packages Canonical homepage: https://github.com/mozilla/mozjpeg Canonical download: https://github.com/mozilla/mozjpeg/archive/refs/tags/v4.0.3.tar.gz ------------------------------------ Build instructions: mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_STATIC=FALSE -DWITH_JPEG8=1 -G"Unix Makefiles" .. make make cygwinpkg ------------------------------------------- Files included in the binary distro ├── opt │   └── mozjpeg │   ├── bin │   │   ├── cjpeg.exe │   │   ├── cygjpeg-8.dll │   │   ├── cygturbojpeg-0.dll │   │   ├── djpeg.exe │   │   ├── jpegtran.exe │   │   ├── rdjpgcom.exe │   │   ├── tjbench.exe │   │   └── wrjpgcom.exe │   ├── doc -> /usr/share/doc/mozjpeg-4.0.3 │   ├── include │   │   ├── jconfig.h │   │   ├── jerror.h │   │   ├── jmorecfg.h │   │   ├── jpeglib.h │   │   └── turbojpeg.h │   ├── lib64 │   │   ├── libjpeg.dll.a │   │   ├── libturbojpeg.dll.a │   │   └── pkgconfig │   │   ├── libjpeg.pc │   │   └── libturbojpeg.pc │   └── man │   └── man1 │   ├── cjpeg.1 │   ├── djpeg.1 │   ├── jpegtran.1 │   ├── rdjpgcom.1 │   └── wrjpgcom.1 └── usr └── share └── doc └── mozjpeg-4.0.3 ├── example.txt ├── libjpeg.txt ├── LICENSE.md ├── README.ijg ├── README.md ├── structure.txt ├── tjexample.c ├── usage.txt └── wizard.txt Port Notes: Default install in /opt or it will replace the "offical" libjpeg packages and files ----- version mozgpeg-4.0.3-EL-1 ----- first version port to cygwin