96f5b328adbb78eeaaec6980d73fd558cb1e4d62560ed615646bc3cf5e532430.txt 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. libjpeg-turbo Licenses
  2. ======================
  3. libjpeg-turbo is covered by two compatible BSD-style open source licenses:
  4. - The IJG (Independent JPEG Group) License, which is listed in
  5. [README.ijg](README.ijg)
  6. This license applies to the libjpeg API library and associated programs,
  7. including any code inherited from libjpeg and any modifications to that
  8. code. Note that the libjpeg-turbo SIMD source code bears the
  9. [zlib License](https://opensource.org/licenses/Zlib), but in the context of
  10. the overall libjpeg API library, the terms of the zlib License are subsumed
  11. by the terms of the IJG License.
  12. - The Modified (3-clause) BSD License, which is listed below
  13. This license applies to the TurboJPEG API library and associated programs, as
  14. well as the build system. Note that the TurboJPEG API library wraps the
  15. libjpeg API library, so in the context of the overall TurboJPEG API library,
  16. both the terms of the IJG License and the terms of the Modified (3-clause)
  17. BSD License apply.
  18. Complying with the libjpeg-turbo Licenses
  19. =========================================
  20. This section provides a roll-up of the libjpeg-turbo licensing terms, to the
  21. best of our understanding. This is not a license in and of itself. It is
  22. intended solely for clarification.
  23. 1. If you are distributing a modified version of the libjpeg-turbo source,
  24. then:
  25. 1. You cannot alter or remove any existing copyright or license notices
  26. from the source.
  27. **Origin**
  28. - Clause 1 of the IJG License
  29. - Clause 1 of the Modified BSD License
  30. - Clauses 1 and 3 of the zlib License
  31. 2. You must add your own copyright notice to the header of each source
  32. file you modified, so others can tell that you modified that file. (If
  33. there is not an existing copyright header in that file, then you can
  34. simply add a notice stating that you modified the file.)
  35. **Origin**
  36. - Clause 1 of the IJG License
  37. - Clause 2 of the zlib License
  38. 3. You must include the IJG README file, and you must not alter any of the
  39. copyright or license text in that file.
  40. **Origin**
  41. - Clause 1 of the IJG License
  42. 2. If you are distributing only libjpeg-turbo binaries without the source, or
  43. if you are distributing an application that statically links with
  44. libjpeg-turbo, then:
  45. 1. Your product documentation must include a message stating:
  46. This software is based in part on the work of the Independent JPEG
  47. Group.
  48. **Origin**
  49. - Clause 2 of the IJG license
  50. 2. If your binary distribution includes or uses the TurboJPEG API, then
  51. your product documentation must include the text of the Modified BSD
  52. License (see below.)
  53. **Origin**
  54. - Clause 2 of the Modified BSD License
  55. 3. You cannot use the name of the IJG or The libjpeg-turbo Project or the
  56. contributors thereof in advertising, publicity, etc.
  57. **Origin**
  58. - IJG License
  59. - Clause 3 of the Modified BSD License
  60. 4. The IJG and The libjpeg-turbo Project do not warrant libjpeg-turbo to be
  61. free of defects, nor do we accept any liability for undesirable
  62. consequences resulting from your use of the software.
  63. **Origin**
  64. - IJG License
  65. - Modified BSD License
  66. - zlib License
  67. The Modified (3-clause) BSD License
  68. ===================================
  69. Copyright (C)2009-2024 D. R. Commander. All Rights Reserved.<br>
  70. Copyright (C)2015 Viktor Szathmáry. All Rights Reserved.
  71. Redistribution and use in source and binary forms, with or without
  72. modification, are permitted provided that the following conditions are met:
  73. - Redistributions of source code must retain the above copyright notice,
  74. this list of conditions and the following disclaimer.
  75. - Redistributions in binary form must reproduce the above copyright notice,
  76. this list of conditions and the following disclaimer in the documentation
  77. and/or other materials provided with the distribution.
  78. - Neither the name of the libjpeg-turbo Project nor the names of its
  79. contributors may be used to endorse or promote products derived from this
  80. software without specific prior written permission.
  81. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS",
  82. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  83. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  84. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
  85. LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  86. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  87. SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  88. INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  89. CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  90. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  91. POSSIBILITY OF SUCH DAMAGE.
  92. Why Two Licenses?
  93. =================
  94. The zlib License could have been used instead of the Modified (3-clause) BSD
  95. License, and since the IJG License effectively subsumes the distribution
  96. conditions of the zlib License, this would have effectively placed
  97. libjpeg-turbo binary distributions under the IJG License. However, the IJG
  98. License specifically refers to the Independent JPEG Group and does not extend
  99. attribution and endorsement protections to other entities. Thus, it was
  100. desirable to choose a license that granted us the same protections for new code
  101. that were granted to the IJG for code derived from their software.