![](//d33sqmjvzgs8hq.cloudfront.net/wp-
content/themes/oneqt/assets/images/cookie_small.png)

We bake cookies in your browser for a better experience. Using this site means
that you consent. [Read More](//qt.io/terms-conditions/)

Menu

  * [ Partners ](//qt.io/partners/)
  * [ Blog ](https://blog.qt.io/)

[ ](https://qt.io/)

  * [Download](https://qt.io/download/)
  * [Device Creation](https://www.qt.io/qt-for-device-creation/)
  * [Application Development](https://www.qt.io/application-development/)
  * [Services](https://www.qt.io/services/)
  * [Developers](https://www.qt.io/developers/)

  * [EN](https://qt.io/support/)
  * [RU](https://qt.io/ru/)
  * [ZH](https://qt.io/zh-hans/)

#

  * [Wiki](https://wiki.qt.io/)
  * [Documentation](https://doc.qt.io/)
  * [Forum](https://forum.qt.io/)
  * [Bug Reports](https://bugreports.qt.io/)
  * [Code Review](https://codereview.qt-project.org/)
  * [Resource Center](https://resources.qt.io/)
  * [Qt Extensions](https://marketplace.qt.io/)

# Qt Documentation

  * [Qt 5.12](index.html)
  * [Qt WebEngine](qtwebengine-index.html)
  * [Qt WebEngine Licensing](qtwebengine-licensing.html)
  * libjpeg

# libjpeg

[Project Homepage](http://www.ijg.org/)

    
    
    (Copied from the README.)
    
    --------------------------------------------------------------------------------
    
    The authors make NO WARRANTY or representation, either express or implied,
    with respect to this software, its quality, accuracy, merchantability, or
    fitness for a particular purpose.  This software is provided "AS IS", and you,
    its user, assume the entire risk as to its quality and accuracy.
    
    This software is copyright (C) 1991-1998, Thomas G. Lane.
    All Rights Reserved except as specified below.
    
    Permission is hereby granted to use, copy, modify, and distribute this
    software (or portions thereof) for any purpose, without fee, subject to these
    conditions:
    (1) If any part of the source code for this software is distributed, then this
    README file must be included, with this copyright and no-warranty notice
    unaltered; and any additions, deletions, or changes to the original files
    must be clearly indicated in accompanying documentation.
    (2) If only executable code is distributed, then the accompanying
    documentation must state that "this software is based in part on the work of
    the Independent JPEG Group".
    (3) Permission for use of this software is granted only if the user accepts
    full responsibility for any undesirable consequences; the authors accept
    NO LIABILITY for damages of any kind.
    
    These conditions apply to any software derived from or based on the IJG code,
    not just to the unmodified library.  If you use our work, you ought to
    acknowledge us.
    
    Permission is NOT granted for the use of any IJG author's name or company name
    in advertising or publicity relating to this software or products derived from
    it.  This software may be referred to only as "the Independent JPEG Group's
    software".
    
    We specifically permit and encourage the use of this software as the basis of
    commercial products, provided that all warranty or liability claims are
    assumed by the product vendor.
    
    
    ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
    sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
    ansi2knr.c is NOT covered by the above copyright and conditions, but instead
    by the usual distribution terms of the Free Software Foundation; principally,
    that you must include source code if you redistribute it.  (See the file
    ansi2knr.c for full details.)  However, since ansi2knr.c is not needed as part
    of any program generated from the IJG code, this does not limit you more than
    the foregoing paragraphs do.
    
    The Unix configuration script "configure" was produced with GNU Autoconf.
    It is copyright by the Free Software Foundation but is freely distributable.
    The same holds for its supporting scripts (config.guess, config.sub,
    ltconfig, ltmain.sh).  Another support script, install-sh, is copyright
    by M.I.T. but is also freely distributable.
    
    It appears that the arithmetic coding option of the JPEG spec is covered by
    patents owned by IBM, AT&amp;T, and Mitsubishi.  Hence arithmetic coding cannot
    legally be used without obtaining one or more licenses.  For this reason,
    support for arithmetic coding has been removed from the free JPEG software.
    (Since arithmetic coding provides only a marginal gain over the unpatented
    Huffman mode, it is unlikely that very many implementations will support it.)
    So far as we are aware, there are no patent restrictions on the remaining
    code.
    
    The IJG distribution formerly included code to read and write GIF files.
    To avoid entanglement with the Unisys LZW patent, GIF reading support has
    been removed altogether, and the GIF writer has been simplified to produce
    "uncompressed GIFs".  This technique does not use the LZW algorithm; the
    resulting GIF files are larger than usual, but are readable by all standard
    GIF decoders.
    
    We are required to state that
        "The Graphics Interchange Format(c) is the Copyright property of
        CompuServe Incorporated.  GIF(sm) is a Service Mark property of
        CompuServe Incorporated."
    
    --------------------------------------------------------------------------------
    
    jconfig.h is distributed under the MPL 1.1/GPL 2.0/LGPL 2.1 tri-license.
    
    jmorecfg.h contains modifications, which are distributed under the Netscape
    Public License.

© 2020 The Qt Company Ltd. Documentation contributions included herein are the
copyrights of their respective owners. The documentation provided herein is
licensed under the terms of the [GNU Free Documentation License version
1.3](https://www.gnu.org/licenses/fdl.html) as published by the Free Software
Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in
Finland and/or other countries worldwide. All other trademarks are property of
their respective owners.

  * [Download](https://qt.io/download/)
    * [Start for Free](https://qt.io/download/)
    * [Qt for Application Development](https://qt.io/download-eval-for-applications-step-2/)
    * [Qt for Device Creation](https://qt.io/request-eval-for-devices-step-2/)
    * [Qt Open Source](https://qt.io/download-open-source/)
    * [Terms & Conditions](https://qt.io/terms-conditions/)
    * [Licensing FAQ](https://qt.io/FAQ/)
  * [Product](https://qt.io/product/)
    * [Qt in Use](https://qt.io/product/)
    * [Qt for Application Development](https://qt.io/application-development/)
    * [Qt for Device Creation](https://qt.io/qt-for-device-creation/)
    * [Commercial Features](https://qt.io/qt-features/)
    * [Qt Creator IDE](https://qt.io/ide/)
    * [Qt Quick](https://qt.io/qt-quick/)
  * [Services](https://qt.io/services/)
    * [Technology Evaluation](https://qt.io/services-technology-evaluation/)
    * [Proof of Concept](https://qt.io/services-proof-of-concept/)
    * [Design & Implementation](https://qt.io/services-design-implementation/)
    * [Productization](https://qt.io/services-productization/)
    * [Qt Training](https://qt.io/qt-training/)
    * [Partner Network](https://qt.io/partners/)
  * [Developers](https://qt.io/developers/)
    * [Qt Extensions](https://marketplace.qt.io/)
    * [Examples & Tutorials](https://doc.qt.io/qt-5/qtexamplesandtutorials.html)
    * [Development Tools](https://doc.qt.io/qt-5/topics-app-development.html)
    * [Wiki](https://wiki.qt.io/)
    * [Forums](https://forum.qt.io/)
    * [Contribute to Qt](https://wiki.qt.io/contribute)
  * [About us](https://qt.io/about-us/)
    * [Training & Events](https://qt.io/events/)
    * [Resource Center](https://qt.io/resource-center/)
    * [News](https://qt.io/news/)
    * [Careers](https://qt.io/careers/)
    * [Locations](https://qt.io/locations/)
    * [Contact Us](https://qt.io/contact-us)

[](https://qt.io/about-us/)

  * [Sign In](https://account.qt.io/login "Sign into your account.")
  * [Feedback](mailto:feedback@theqtcompany.com?Subject=Feedback%20about%20doc.qt.io%20site)
  * [Contact us](https://qt.io/contact-us/)
  * [© 2020 The Qt Company](https://qt.io/about-us/)

