![](//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)
  * WebP image encoder/decoder

# WebP image encoder/decoder

[Project Homepage](http://developers.google.com/speed/webp)

    
    
    Copyright (c) 2010, Google Inc. All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are
    met:
    
      * Redistributions of source code must retain the above copyright
        notice, this list of conditions and the following disclaimer.
    
      * Redistributions in binary form must reproduce the above copyright
        notice, this list of conditions and the following disclaimer in
        the documentation and/or other materials provided with the
        distribution.
    
      * Neither the name of Google nor the names of its contributors may
        be used to endorse or promote products derived from this software
        without specific prior written permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    
    Additional IP Rights Grant (Patents)
    ------------------------------------
    
    "These implementations" means the copyrightable works that implement the WebM
    codecs distributed by Google as part of the WebM Project.
    
    Google hereby grants to you a perpetual, worldwide, non-exclusive, no-charge,
    royalty-free, irrevocable (except as stated in this section) patent license to
    make, have made, use, offer to sell, sell, import, transfer, and otherwise
    run, modify and propagate the contents of these implementations of WebM, where
    such license applies only to those patent claims, both currently owned by
    Google and acquired in the future, licensable by Google that are necessarily
    infringed by these implementations of WebM. This grant does not include claims
    that would be infringed only as a consequence of further modification of these
    implementations. If you or your agent or exclusive licensee institute or order
    or agree to the institution of patent litigation or any other patent
    enforcement activity against any entity (including a cross-claim or
    counterclaim in a lawsuit) alleging that any of these implementations of WebM
    or any code incorporated within any of these implementations of WebM
    constitute direct or contributory patent infringement, or inducement of
    patent infringement, then any patent rights granted to you under this License
    for these implementations of WebM shall terminate as of the date such
    litigation is filed.

© 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/)

