1libjpeg-turbo Licenses
2----------------------
3
4libjpeg-turbo is covered by three compatible BSD-style open source licenses:
5
6-- The IJG (Independent JPEG Group) License, which is listed in README
7
8   This license applies to the libjpeg API library and associated programs
9   (any code inherited from libjpeg, and any modifications to that code.)
10
11-- The Modified (3-clause) BSD License, which is listed in turbojpeg.c
12
13   This license covers the TurboJPEG API library and associated programs.
14
15-- The zlib License, which is listed in simd/jsimdext.inc
16
17   This license is a subset of the other two, and it covers the libjpeg-turbo
18   SIMD extensions.
19
20
21Complying with the libjpeg-turbo Licenses
22-----------------------------------------
23
24This section provides a roll-up of the libjpeg-turbo licensing terms, to the
25best of our understanding.
26
271.  If you are distributing a modified version of the libjpeg-turbo source,
28    then:
29
30    a.  You cannot alter or remove any existing copyright or license notices
31        from the source.
32
33        Origin:  Clause 1 of the IJG License
34                 Clause 1 of the Modified BSD License
35                 Clauses 1 and 3 of the zlib License
36
37    b.  You must add your own copyright notice to the header of each source
38        file you modified, so others can tell that you modified that file (if
39        there is not an existing copyright header in that file, then you can
40        simply add a notice stating that you modified the file.)
41
42        Origin:  Clause 1 of the IJG License
43                 Clause 2 of the zlib License
44
45    c.  You must include the IJG README file, and you must not alter any of the
46        copyright or license text in that file.
47
48        Origin:  Clause 1 of the IJG License
49
502.  If you are distributing only libjpeg-turbo binaries without the source, or
51    if you are distributing an application that statically links with
52    libjpeg-turbo, then:
53
54    a.  Your product documentation must include a message stating:
55
56        This software is based in part on the work of the Independent JPEG
57        Group.
58
59        Origin:  Clause 2 of the IJG license
60
61    b.  If your binary distribution includes or uses the TurboJPEG API, then
62        your product documentation must include the text of the Modified BSD
63        License.
64
65        Origin:  Clause 2 of the Modified BSD License
66
673.  You cannot use the name of the IJG or The libjpeg-turbo Project or the
68    contributors thereof in advertising, publicity, etc.
69
70    Origin:  IJG License
71             Clause 3 of the Modified BSD License
72
734.  The IJG and The libjpeg-turbo Project do not warrant libjpeg-turbo to be
74    free of defects, nor do we accept any liability for undesirable
75    consequences resulting from your use of the software.
76
77    Origin:  IJG License
78             Modified BSD License
79             zlib License
80