SPB Git

Repository Public License

NOTICE.md 3.8 KB 73 lines markdown

1# libwebp23| | |4|---|---|5| Name | libwebp (WebP codec: encoder, decoder, libwebpmux, libwebpdemux, libsharpyuv) |6| Version | 1.6.0 |7| Source | https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0.tar.gz |8| SHA-256 of the archive | `e4ab7009bf0629fd11982d4c2aa83964cf244cffba7347ecd39019a9e38c4564` |9| Project | https://chromium.googlesource.com/webm/libwebp — https://developers.google.com/speed/webp |10| License | BSD 3-Clause (file `COPYING` of the source archive), with the additional patent grant in `PATENTS` |11| Copyright | Copyright (c) 2010, Google Inc. All rights reserved. |1213## Why it is bundled1415ImageIO decodes WebP but cannot encode it (`org.webmproject.webp` is absent from16`CGImageDestinationCopyTypeIdentifiers()` on macOS 15 to 27). The image engine needs lossy, lossless, alpha and17animated WebP output, plus ICC / EXIF / XMP chunks, and an independent decoder to validate what it wrote.1819## How it is built and linked2021`build.sh` downloads the pinned archive, checks its SHA-256, builds the libraries with CMake for22arm64 / macOS 15.0 (`MACOSX_DEPLOYMENT_TARGET=15.0`, Release, static, command-line tools and image-format23dependencies disabled), merges `libwebp.a`, `libsharpyuv.a`, `libwebpmux.a` and `libwebpdemux.a` into one archive24with `libtool -static`, and wraps it with its public headers into `CWebP.xcframework`.2526`Packages/EngineImage/Package.swift` consumes it as a SwiftPM `binaryTarget` (module `CWebP`). The code is27statically linked into the application; nothing is loaded at run time and nothing is looked up on the user's Mac.2829Build-time tools used: `cmake` (Homebrew, already present on the build machine), `make`, `libtool`, `xcodebuild`.30None of them is needed at run time. Size of the product: `libCWebP.a` 738 352 bytes, `CWebP.xcframework` 836 kB.3132The source code is not modified. `src/`, `work/`, `prefix/` and `CWebP.xcframework/` are build products and are not33committed.3435## Obligations3637BSD 3-Clause: the copyright notice, the list of conditions and the disclaimer must be reproduced in the38documentation or other materials provided with the binary distribution. The application's acknowledgements must39therefore include the text of `COPYING` (below) for libwebp, and the name of Google or of its contributors must40not be used to endorse the product.4142```43Copyright (c) 2010, Google Inc. All rights reserved.4445Redistribution and use in source and binary forms, with or without46modification, are permitted provided that the following conditions are47met:4849  * Redistributions of source code must retain the above copyright50    notice, this list of conditions and the following disclaimer.5152  * Redistributions in binary form must reproduce the above copyright53    notice, this list of conditions and the following disclaimer in54    the documentation and/or other materials provided with the55    distribution.5657  * Neither the name of Google nor the names of its contributors may58    be used to endorse or promote products derived from this software59    without specific prior written permission.6061THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS62"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT63LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR64A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT65HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,66SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT67LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,68DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY69THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT70(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE71OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.72```73
Files main
Menu

Theme