1 libjpeg-turbo Licenses 2 ====================== 3 4 libjpeg-turbo is covered by three compatible BSD-style open source licenses: 5 6 - The IJG (Independent JPEG Group) License, which is listed in 7 [README.ijg](README.ijg) 8 9 This license applies to the libjpeg API library and associated programs 10 (any code inherited from libjpeg, and any modifications to that code.) 11 12 - The Modified (3-clause) BSD License, which is listed below 13 14 This license covers the TurboJPEG API library and associated programs. 15 16 - The zlib License, which is listed below 17 18 This license is a subset of the other two, and it covers the libjpeg-turbo 19 SIMD extensions. 20 21 22 Complying with the libjpeg-turbo Licenses 23 ========================================= 24 25 This section provides a roll-up of the libjpeg-turbo licensing terms, to the 26 best of our understanding. 27 28 1. If you are distributing a modified version of the libjpeg-turbo source, 29 then: 30 31 1. You cannot alter or remove any existing copyright or license notices 32 from the source. 33 34 **Origin** 35 - Clause 1 of the IJG License 36 - Clause 1 of the Modified BSD License 37 - Clauses 1 and 3 of the zlib License 38 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.) 43 44 **Origin** 45 - Clause 1 of the IJG License 46 - Clause 2 of the zlib License 47 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. 50 51 **Origin** 52 - Clause 1 of the IJG License 53 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 56 libjpeg-turbo, then: 57 58 1. Your product documentation must include a message stating: 59 60 This software is based in part on the work of the Independent JPEG 61 Group. 62 63 **Origin** 64 - Clause 2 of the IJG license 65 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 68 License. 69 70 **Origin** 71 - Clause 2 of the Modified BSD License 72 73 3. You cannot use the name of the IJG or The libjpeg-turbo Project or the 74 contributors thereof in advertising, publicity, etc. 75 76 **Origin** 77 - IJG License 78 - Clause 3 of the Modified BSD License 79 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. 83 84 **Origin** 85 - IJG License 86 - Modified BSD License 87 - zlib License 88 89 90 The Modified (3-clause) BSD License 91 =================================== 92 93 Copyright (C)\<YEAR\> \<AUTHOR\>. All Rights Reserved. 94 95 Redistribution and use in source and binary forms, with or without 96 modification, are permitted provided that the following conditions are met: 97 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. 106 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. 118 119 120 The zlib License 121 ================ 122 123 Copyright (C) \<YEAR\>, \<AUTHOR\>. 124 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. 128 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: 132 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. 140