FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us

I am looking for an LTO tape library. Do you have one to spare?
Port details
mozjpeg 2.1_1 graphics on this many watch lists=0 search for ports that depend on this port
Advanced JPEG encoder for the Web
Maintained by: search for ports maintained by this maintainer
Port Added: 13 Mar 2014 20:00:21

MozJPEG is a fork of libjpeg-turbo with 'jpgcrush' functionality built in.

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 graphics/libjpeg-turbo port.

SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Required To Build:
  1. lang/gcc
  2. devel/binutils
  3. devel/automake
  4. devel/autoconf
  5. devel/libtool
Required To Run:
  1. lang/gcc
There are no ports dependent upon this port

To install the port: cd /usr/ports/graphics/mozjpeg/ && make install clean
To add the package: pkg install graphics/mozjpeg

Configuration Options
===> The following configuration options are available for mozjpeg-2.1_1:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     GCC=on: Use the GNU Compiler Collection (GCC) for best performance
     SIMD=off: Include SIMD extensions (MMX, SSE2, NEON)
     TURBOJPEG=on: Include the TurboJPEG wrapper library and associated tests
====> Options available for the multi LIBRARIES: you have to choose at least one of them
     SHARED=on: Build shared libraries
     STATIC=off: Build static libraries
====> Options available for the group ARITHMETIC_CODING
     DECODING=on: Enable arithmetic decoding
     ENCODING=on: Enable arithmetic encoding
====> Options available for the single API_ABI_EMULATION: you have to select exactly one of them
     JPEG6B=off: API/ABI-compatible with libjpeg v6b
     JPEG7=off: API/ABI-compatible with libjpeg v7 (implies arith-coding)
     JPEG8=on: API/ABI-compatible with libjpeg v8 (implies arith-coding)
===> Use 'make config' to modify these settings

Master Sites:

Number of commits found: 6

Commit History - (may be incomplete: see SVNWeb link above for full details)
10 Sep 2014 20:50:37
Original commit files touched by this commit  2.1_1
gerald search for other commits by this committer
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.


PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
15 Aug 2014 11:45:39
Original commit files touched by this commit  2.1
arved search for other commits by this committer
Update to 2.1

PR:		192591
Submitted by:	maintainer
19 Jul 2014 23:12:39
Original commit files touched by this commit  2.0.1
danilo search for other commits by this committer
- Update from 1.0.1 to 2.0.1
- Update COMMENT
- Update pkg-descr
- Remove static libraries from default options
- Remove patch for warning: always_inline function might not be inlinable, fixed
by upstream

PR:		ports/191964
Submitted by:	Horia Racoviceanu <>
23 Jun 2014 13:47:58
Original commit files touched by this commit  1.0.1_1
amdmi3 search for other commits by this committer
- Switch to USES=libtool

Approved by:	portmgr blanket
15 Apr 2014 19:26:29
Original commit files touched by this commit  1.0.1
nemysis search for other commits by this committer
- Update to 1.0.1, Announce message:

  Do not create JFIF header (APP0 block) by default.
  This saves 18 bytes per image.

- Add jpeg and libjpeg-turbo to CONFLICTS_INSTALL
- Add USE_LDCONFIG=${PREFIX}/include ${PREFIX}/lib
  remove PORTNAME from PLIST_SUB, change STRIP_CMD,
  change pkg-plist
- Add autoheader and libtoolize to USE_AUTOTOOLS,
  remove run-autotools, add AUTOMAKE_ARGS
- Remove SIMD from default Options
- Use GCC=yes instead of GCC=any
(Only the first 15 lines of the commit message are shown above View all of this commit message)
13 Mar 2014 20:00:11
Original commit files touched by this commit  1.0
swills search for other commits by this committer
MozJPEG is a fork of libjpeg-turbo with 'jpgcrush' functionality built in.

The goal is to provide a production-quality JPEG encoder that improves
compression while maintaining compatibility with the vast majority of deployed

The 'jpgcrush' feature finds the progressive coding configuration which uses the
fewest bits. This most frequently reduces file size by 2-10%, but those are not
hard limits. Significantly greater reductions have been observed.

Library configuration defaults are the same as for libjpeg-turbo, in order to
make transitions as painless as possible. There are new configuration options
for new features, but they are not enabled by default.

The 'cjpeg' program defaults are not the same as for the equivalent program in
libjpeg-turbo. The 'cjpeg' defaults for mozjpeg are set to aggressively optimize
for smaller file sizes.


PR:		ports/187398
Submitted by:	Horia Racoviceanu <>

Number of commits found: 6

User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
squidSep 18
squid33Sep 18
dbusSep 17
nginxSep 16
nginx-develSep 16
phpmyadminSep 13
ossec-hids-clientSep 11
ossec-hids-localSep 11
ossec-hids-serverSep 11
chromiumSep 09
trafficserverSep 05
apache22*Sep 03
apache22-event-mpm*Sep 03
apache22-itk-mpm*Sep 03
apache22-peruser-mpm*Sep 03

7 vulnerabilities affecting 18 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 24094
Broken 121
Deprecated 90
Ignore 385
Forbidden 17
Restricted 203
Vulnerable 22
Expired 2
Set to expire 85
Interactive 0
new 24 hours 3
new 48 hours7
new 7 days37
new fortnight138
new month242

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.