C Assembly HTML PHP Java C++ Other
Permalink
Failed to load latest commit information.
cmakescripts Win: Enable testing cross-compiled builds Feb 7, 2016
doc/html Bump TurboJPEG C API revision to 1.5 Feb 29, 2016
java Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
md5 Format copyright headers more consistently May 29, 2016
release Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
sharedlib Merge libjpeg-turbo r1390 Sep 7, 2014
simd Merge tag '1.5.0' Jun 7, 2016
testimages 12-bit JPEG support Aug 9, 2014
win Merge tag '1.5.0' Jun 7, 2016
.gitauthors Script for git-svn reinitialization Sep 7, 2014
.gitignore Merge remote-tracking branch 'libjpeg-turbo/1.4.x' into libjpeg-turbo Apr 27, 2016
BUILDING.md BUILDING.md: More NASM/YASM clarifications Jun 1, 2016
BUILDING.txt Merge remote-tracking branch 'libjpeg-turbo/1.4.x' into libjpeg-turbo Apr 27, 2016
CMakeLists.txt Add file to cmake Feb 14, 2017
ChangeLog.md Don't allow opaque source/dest mgrs to be swapped May 11, 2016
LICENSE.md Markdown versions of README, LICENSE, BUILDING Oct 10, 2015
Makefile.am Use turbo settings in md5 tests May 5, 2016
README-mozilla.txt Consider vertical gradient in DC trellis Dec 16, 2014
README-turbo.txt Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
README.ijg Include some comments/doc tweaks from jpeg-9+ Feb 18, 2016
README.md Re-order links. Jan 12, 2015
acinclude.m4 Build: Make the NASM autoconf variable persistent Feb 19, 2016
bmp.c Add the ability to benchmark YCCK JPEG compression/decompression. Thi… Jan 16, 2015
bmp.h Initial commit of libjpeg-turbo plus readme edits. Jan 14, 2014
cderror.h Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
cdjpeg.c Use consistent/modern code formatting for pointers Feb 19, 2016
cdjpeg.h Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
change.log change.log: Refer users to ChangeLog.md Mar 13, 2016
cjpeg.1 Wordsmith GIF limitations in cjpeg.1/djpeg.1 Feb 18, 2016
cjpeg.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
coderules.txt Rename README, LICENSE, BUILDING text files Oct 10, 2015
configure.ac Bump version Feb 13, 2017
djpeg.1 libjpeg API: Partial scanline decompression Feb 20, 2016
djpeg.c libjpeg API: Partial scanline decompression Feb 20, 2016
doxygen-extra.css Make the documentation more readable by displaying fixed-width text (… Aug 10, 2014
doxygen.config Bump TurboJPEG C API revision to 1.5 Feb 29, 2016
example.c Use consistent/modern code formatting for pointers Feb 19, 2016
git-init-svn.sh Script for git-svn reinitialization Sep 7, 2014
jaricom.c Replace INT32 with a new internal datatype (JLONG) Oct 15, 2015
jcapimin.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jcapistd.c Restore backward ABI compatibility with libjpeg/libjpeg-turbo by movi… Nov 4, 2014
jcarith.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jccoefct.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jccolext.c Replace INT32 with a new internal datatype (JLONG) Oct 15, 2015
jccolor.c Format copyright headers more consistently May 29, 2016
jcdctmgr.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jcext.c Const on getters Jan 24, 2015
jchuff.c Format copyright headers more consistently May 29, 2016
jchuff.h Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jcinit.c Fix trellis / no Huffman opt combination Dec 10, 2014
jcmainct.c Use consistent/modern code formatting for pointers Feb 19, 2016
jcmarker.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jcmaster.c Allocate from temporary image pool to avoid leaking mem mgr Jun 8, 2016
jcmaster.h Merge remote-tracking branch 'libjpeg-turbo/1.4.x' into libjpeg-turbo Apr 27, 2016
jcomapi.c Clean up a couple of copyright messages Feb 19, 2016
jconfig.h.in Merge tag '1.5.0' Jun 7, 2016
jconfig.txt Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jconfigint.h.in Regression: Allow co-install of 32-bit/64-bit RPMs Jan 7, 2016
jcparam.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jcphuff.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jcprepct.c Use consistent/modern code formatting for pointers Feb 19, 2016
jcsample.c Format copyright headers more consistently May 29, 2016
jcstest.c Use mozjpeg defaults by default Nov 20, 2014
jctrans.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jdapimin.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jdapistd.c Fix v7/v8-compatible build Feb 22, 2016
jdarith.c More minor code formatting tweaks Feb 19, 2016
jdatadst-tj.c Don't allow opaque source/dest mgrs to be swapped May 11, 2016
jdatadst.c Allocate from temporary image pool to avoid leaking mem mgr Jun 8, 2016
jdatasrc-tj.c Don't allow opaque source/dest mgrs to be swapped May 11, 2016
jdatasrc.c Don't allow opaque source/dest mgrs to be swapped May 11, 2016
jdcoefct.c libjpeg API: Partial scanline decompression Feb 20, 2016
jdcoefct.h Use consistent/modern code formatting for pointers Feb 19, 2016
jdcol565.c Fix compiler warnings under Visual C++ Oct 15, 2015
jdcolext.c Replace INT32 with a new internal datatype (JLONG) Oct 15, 2015
jdcolor.c Use consistent/modern code formatting for pointers Feb 19, 2016
jdct.h Use consistent/modern code formatting for pointers Feb 19, 2016
jddctmgr.c Format copyright headers more consistently May 29, 2016
jdhuff.c Use consistent/modern code formatting for dbl ptrs Feb 19, 2016
jdhuff.h Use consistent/modern code formatting for pointers Feb 19, 2016
jdinput.c libjpeg API: Partial scanline decompression Feb 20, 2016
jdmainct.c Fix MinGW build Feb 6, 2016
jdmainct.h Use consistent/modern code formatting for pointers Feb 19, 2016
jdmarker.c Use consistent/modern code formatting for pointers Feb 19, 2016
jdmaster.c libjpeg API: Partial scanline decompression Feb 20, 2016
jdmaster.h libjpeg API: Partial scanline decompression Feb 20, 2016
jdmerge.c Clean up a couple of copyright messages Feb 19, 2016
jdmrg565.c Fix compiler warnings under Visual C++ Oct 15, 2015
jdmrgext.c Replace INT32 with a new internal datatype (JLONG) Oct 15, 2015
jdphuff.c Use consistent/modern code formatting for pointers Feb 19, 2016
jdpostct.c Use consistent/modern code formatting for pointers Feb 19, 2016
jdsample.c Format copyright headers more consistently May 29, 2016
jdsample.h Use consistent/modern code formatting for pointers Feb 19, 2016
jdtrans.c Rename README, LICENSE, BUILDING text files Oct 10, 2015
jerror.c Use consistent/modern code formatting for pointers Feb 19, 2016
jerror.h Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jfdctflt.c Use consistent/modern code formatting for pointers Feb 19, 2016
jfdctfst.c Format copyright headers more consistently May 29, 2016
jfdctint.c Format copyright headers more consistently May 29, 2016
jidctflt.c Use consistent/modern code formatting for pointers Feb 19, 2016
jidctfst.c Use consistent/modern code formatting for pointers Feb 19, 2016
jidctint.c Format copyright headers more consistently May 29, 2016
jidctred.c Format copyright headers more consistently May 29, 2016
jinclude.h Rename README, LICENSE, BUILDING text files Oct 10, 2015
jmemmgr.c Use consistent/modern code formatting for pointers Feb 19, 2016
jmemnobs.c Use consistent/modern code formatting for pointers Feb 19, 2016
jmemsys.h Use consistent/modern code formatting for pointers Feb 19, 2016
jmorecfg.h Replace INT32 with a new internal datatype (JLONG) Oct 15, 2015
jpeg_nbits_table.h Use precomputed table Jul 24, 2014
jpegcomp.h Format copyright headers more consistently May 29, 2016
jpegint.h Allocate from temporary image pool to avoid leaking mem mgr Jun 8, 2016
jpeglib.h JPEG_C_PARAM_SUPPORTED to allow detection of the API Mar 18, 2017
jpegtran.1 Include some comments/doc tweaks from jpeg-9+ Feb 18, 2016
jpegtran.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
jpegyuv.c Merge pull request #207 from mozilla/jpg-yuv-cleanup May 25, 2016
jquant1.c Use consistent/modern code formatting for pointers Feb 19, 2016
jquant2.c Use consistent/modern code formatting for pointers Feb 19, 2016
jsimd.h Format copyright headers more consistently May 29, 2016
jsimd_none.c Format copyright headers more consistently May 29, 2016
jsimddct.h Use consistent/modern code formatting for pointers Feb 19, 2016
jstdhuff.c Merge branch '1.4.x' Mar 6, 2016
jutils.c Use consistent/modern code formatting for pointers Feb 19, 2016
jversion.h Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
libjpeg.map.in Initial commit of libjpeg-turbo plus readme edits. Jan 14, 2014
libjpeg.txt libjpeg API: Partial scanline decompression Feb 20, 2016
rd_average.sh Adding scripts to generate rd-curves. Mar 17, 2014
rd_collect.sh Adding scripts to generate rd-curves. Mar 17, 2014
rd_collect_sub.sh Adding scripts to generate rd-curves. Mar 17, 2014
rd_plot.sh Adding scripts to generate rd-curves. Mar 17, 2014
rdbmp.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
rdcolmap.c Use consistent/modern code formatting for pointers Feb 19, 2016
rdgif.c Rename README, LICENSE, BUILDING text files Oct 10, 2015
rdjpeg.c Reconcile indentation, whitespace, and other code formatting with lib… Nov 6, 2014
rdjpgcom.1 The Independent JPEG Group's JPEG software v7 Jul 27, 2015
rdjpgcom.c Use consistent/modern code formatting for pointers Feb 19, 2016
rdpng.c rdpng: convert 16-bit input to 8-bit Mar 13, 2015
rdppm.c Merge branch '1.4.x' Mar 31, 2016
rdrle.c Use consistent/modern code formatting for dbl ptrs Feb 19, 2016
rdswitch.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
rdtarga.c Use consistent/modern code formatting for pointers Feb 19, 2016
structure.txt Rename README, LICENSE, BUILDING text files Oct 10, 2015
tjbench.c TJBench: Fix segfault on Android Feb 1, 2016
tjbenchtest.in Extend tjbenchtest so that it tests the dynamic JPEG buffer allocatio… Aug 22, 2014
tjbenchtest.java.in Run the TurboJPEG conformance tests out of a directory in /tmp (for i… Aug 22, 2014
tjexampletest.in Initial commit of libjpeg-turbo plus readme edits. Jan 14, 2014
tjunittest.c Fix memory leak when running tjunittest -yuv Feb 25, 2016
tjutil.c Initial commit of libjpeg-turbo plus readme edits. Jan 14, 2014
tjutil.h Initial commit of libjpeg-turbo plus readme edits. Jan 14, 2014
transupp.c Use consistent/modern code formatting for pointers Feb 19, 2016
transupp.h Use consistent/modern code formatting for pointers Feb 19, 2016
turbojpeg-jni.c Fix compiler warning Feb 14, 2016
turbojpeg-mapfile Oops. Include the tjPlane*() functions in the mapfile so that they ar… Nov 22, 2014
turbojpeg-mapfile.jni Oops. Include the tjPlane*() functions in the mapfile so that they ar… Nov 22, 2014
turbojpeg.c Merge remote-tracking branch 'libjpeg-turbo/master' into libjpeg-turbo Apr 28, 2016
turbojpeg.h Declare source buffers in TurboJPEG C API as const Aug 14, 2015
usage.txt Update baseline defn in usage.txt Nov 10, 2016
wizard.txt Convert tabs to spaces in the libjpeg code and the SIMD code (TurboJP… May 11, 2014
wrbmp.c Use consistent/modern code formatting for pointers Feb 19, 2016
wrgif.c Use consistent/modern code formatting for pointers Feb 19, 2016
wrjpgcom.1 The Independent JPEG Group's JPEG software v6 Jul 29, 2015
wrjpgcom.c Format copyright headers more consistently May 29, 2016
wrppm.c libjpeg API: Partial scanline decompression Feb 20, 2016
wrppm.h libjpeg API: Partial scanline decompression Feb 20, 2016
wrrle.c Use consistent/modern code formatting for pointers Feb 19, 2016
wrtarga.c Use consistent/modern code formatting for pointers Feb 19, 2016
yuvjpeg.c yuvjpeg: fix NULL dereference on invalid format string Jul 15, 2016

README.md

Mozilla JPEG Encoder Project

This project's goal is to reduce the size of JPEG files without reducing quality or compatibility with the vast majority of the world's deployed decoders.

The idea is to reduce transfer times for JPEGs on the Web, thus reducing page load times.

'mozjpeg' is not intended to be a general JPEG library replacement. It makes tradeoffs that are intended to benefit Web use cases and focuses solely on improving encoding. It is best used as part of a Web encoding workflow. For a general JPEG library (e.g. your system libjpeg), especially if you care about decoding, we recommend libjpeg-turbo.

More information: