4 libjpeg-turbo is covered by three compatible BSD-style open source licenses:
6 - The IJG (Independent JPEG Group) License, which is listed in
7 [README.ijg](README.ijg)
9 This license applies to the libjpeg API library and associated programs
10 (any code inherited from libjpeg, and any modifications to that code.)
12 - The Modified (3-clause) BSD License, which is listed below
14 This license covers the TurboJPEG API library and associated programs.
16 - The zlib License, which is listed below
18 This license is a subset of the other two, and it covers the libjpeg-turbo
22 Complying with the libjpeg-turbo Licenses
23 =========================================
25 This section provides a roll-up of the libjpeg-turbo licensing terms, to the
26 best of our understanding.
28 1. If you are distributing a modified version of the libjpeg-turbo source,
31 1. You cannot alter or remove any existing copyright or license notices
35 - Clause 1 of the IJG License
36 - Clause 1 of the Modified BSD License
37 - Clauses 1 and 3 of the zlib License
39 2. You must add your own copyright notice to the header of each source
40 file you modified, so others can tell that you modified that file (if
41 there is not an existing copyright header in that file, then you can
42 simply add a notice stating that you modified the file.)
45 - Clause 1 of the IJG License
46 - Clause 2 of the zlib License
48 3. You must include the IJG README file, and you must not alter any of the
49 copyright or license text in that file.
52 - Clause 1 of the IJG License
54 2. If you are distributing only libjpeg-turbo binaries without the source, or
55 if you are distributing an application that statically links with
58 1. Your product documentation must include a message stating:
60 This software is based in part on the work of the Independent JPEG
64 - Clause 2 of the IJG license
66 2. If your binary distribution includes or uses the TurboJPEG API, then
67 your product documentation must include the text of the Modified BSD
71 - Clause 2 of the Modified BSD License
73 3. You cannot use the name of the IJG or The libjpeg-turbo Project or the
74 contributors thereof in advertising, publicity, etc.
78 - Clause 3 of the Modified BSD License
80 4. The IJG and The libjpeg-turbo Project do not warrant libjpeg-turbo to be
81 free of defects, nor do we accept any liability for undesirable
82 consequences resulting from your use of the software.
86 - Modified BSD License
90 The Modified (3-clause) BSD License
91 ===================================
93 Copyright (C)\<YEAR\> \<AUTHOR\>. All Rights Reserved.
95 Redistribution and use in source and binary forms, with or without
96 modification, are permitted provided that the following conditions are met:
98 - Redistributions of source code must retain the above copyright notice,
99 this list of conditions and the following disclaimer.
100 - Redistributions in binary form must reproduce the above copyright notice,
101 this list of conditions and the following disclaimer in the documentation
102 and/or other materials provided with the distribution.
103 - Neither the name of the libjpeg-turbo Project nor the names of its
104 contributors may be used to endorse or promote products derived from this
105 software without specific prior written permission.
107 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS",
108 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
109 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
110 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
111 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
112 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
113 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
114 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
115 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
116 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
117 POSSIBILITY OF SUCH DAMAGE.
123 Copyright (C) \<YEAR\>, \<AUTHOR\>.
125 This software is provided 'as-is', without any express or implied
126 warranty. In no event will the authors be held liable for any damages
127 arising from the use of this software.
129 Permission is granted to anyone to use this software for any purpose,
130 including commercial applications, and to alter it and redistribute it
131 freely, subject to the following restrictions:
133 1. The origin of this software must not be misrepresented; you must not
134 claim that you wrote the original software. If you use this software
135 in a product, an acknowledgment in the product documentation would be
136 appreciated but is not required.
137 2. Altered source versions must be plainly marked as such, and must not be
138 misrepresented as being the original software.
139 3. This notice may not be removed or altered from any source distribution.