@@ -8,18 +8,46 @@ libjpeg-turbo is covered by two compatible BSD-style open source licenses:
88
99 This license applies to the libjpeg API library and associated programs,
1010 including any code inherited from libjpeg and any modifications to that
11- code. Note that the libjpeg-turbo SIMD source code bears the
12- [zlib License](https://opensource.org/licenses/Zlib), but in the context of
13- the overall libjpeg API library, the terms of the zlib License are subsumed
14- by the terms of the IJG License.
11+ code.
1512
1613- The Modified (3-clause) BSD License, which is listed below
1714
18- This license applies to the TurboJPEG API library and associated programs, as
19- well as the build system. Note that the TurboJPEG API library wraps the
20- libjpeg API library, so in the context of the overall TurboJPEG API library,
21- both the terms of the IJG License and the terms of the Modified (3-clause)
22- BSD License apply.
15+ This license applies to the TurboJPEG API library and associated programs,
16+ [libspng](https://libspng.org) (which is used by cjpeg and djpeg), and the
17+ build/test system.
18+
19+ * The TurboJPEG API library wraps the libjpeg API library, so in the context
20+ of the overall TurboJPEG API library, both the terms of the IJG License and
21+ the terms of the Modified (3-clause) BSD License apply.
22+ * cjpeg and djpeg use libspng, so in the context of those programs, both the
23+ terms of the IJG License and the terms of the Modified (3-clause) BSD
24+ License apply.
25+
26+
27+ Component Licenses
28+ ==================
29+
30+ Some of libjpeg-turbo's modules and internal dependencies are covered by less
31+ restrictive licenses, but in the context of libjpeg-turbo as a whole, the terms
32+ of the less restrictive licenses are subsumed by either the IJG License or the
33+ Modified BSD License. (In other words, the terms of the less restrictive
34+ licenses are satisfied if the terms of the IJG and Modified BSD Licenses are
35+ satisfied.)
36+
37+ - The libjpeg-turbo SIMD source code and zlib are covered by the
38+ [zlib License](https://spdx.org/licenses/Zlib.html), which is subsumed by the
39+ IJG License in the context of the cjpeg and djpeg programs and the libjpeg
40+ API library.
41+
42+ - Some of the libspng source code is covered by the
43+ [PNG Reference Library License v2](https://spdx.org/licenses/libpng-2.0.html),
44+ which is subsumed by the IJG License in the context of the cjpeg and djpeg
45+ programs and the TurboJPEG API library.
46+
47+ - Most of the libspng source code is covered by the
48+ [Simplified (2-clause) BSD License](https://spdx.org/licenses/BSD-2-Clause.html),
49+ which is subsumed by the Modified BSD License in the context of the cjpeg and
50+ djpeg programs and the TurboJPEG API library.
2351
2452
2553Complying with the libjpeg-turbo Licenses
@@ -38,7 +66,6 @@ intended solely for clarification.
3866 **Origin**
3967 - Clause 1 of the IJG License
4068 - Clause 1 of the Modified BSD License
41- - Clauses 1 and 3 of the zlib License
4269
4370 2. You must add your own copyright notice to the header of each source
4471 file you modified, so others can tell that you modified that file. (If
@@ -47,7 +74,6 @@ intended solely for clarification.
4774
4875 **Origin**
4976 - Clause 1 of the IJG License
50- - Clause 2 of the zlib License
5177
5278 3. You must include the IJG README file, and you must not alter any of the
5379 copyright or license text in that file.
@@ -67,9 +93,9 @@ intended solely for clarification.
6793 **Origin**
6894 - Clause 2 of the IJG license
6995
70- 2. If your binary distribution includes or uses the TurboJPEG API, then
71- your product documentation must include the text of the Modified BSD
72- License (see below.)
96+ 2. If your binary distribution includes or uses the TurboJPEG API or
97+ associated programs, cjpeg, or djpeg, then your product documentation
98+ must include the text of the Modified BSD License (see below.)
7399
74100 **Origin**
75101 - Clause 2 of the Modified BSD License
@@ -81,21 +107,20 @@ intended solely for clarification.
81107 - IJG License
82108 - Clause 3 of the Modified BSD License
83109
84- 4. The IJG and The libjpeg-turbo Project do not warrant libjpeg-turbo to be
85- free of defects, nor do we accept any liability for undesirable
86- consequences resulting from your use of the software.
110+ 4. The authors and distributors do not warrant libjpeg-turbo to be free of
111+ defects, nor do we accept any liability for undesirable consequences
112+ resulting from your use of the software.
87113
88114 **Origin**
89115 - IJG License
90116 - Modified BSD License
91- - zlib License
92117
93118
94119The Modified (3-clause) BSD License
95120===================================
96121
97- Copyright (C)2009-2025 D. R. Commander. All Rights Reserved. <br>
98- Copyright (C)2015 Viktor Szathmáry. All Rights Reserved.
122+ Copyright (C) 2009-2026 D. R. Commander<br>
123+ Copyright (C) 2018-2023 Randy <randy408@protonmail.com>
99124
100125Redistribution and use in source and binary forms, with or without
101126modification, are permitted provided that the following conditions are met:
@@ -120,16 +145,3 @@ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
120145CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
121146ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
122147POSSIBILITY OF SUCH DAMAGE.
123-
124-
125- Why Two Licenses?
126- =================
127-
128- The zlib License could have been used instead of the Modified (3-clause) BSD
129- License, and since the IJG License effectively subsumes the distribution
130- conditions of the zlib License, this would have effectively placed
131- libjpeg-turbo binary distributions under the IJG License. However, the IJG
132- License specifically refers to the Independent JPEG Group and does not extend
133- attribution and endorsement protections to other entities. Thus, it was
134- desirable to choose a license that granted us the same protections for new code
135- that were granted to the IJG for code derived from their software.
0 commit comments