libwebp Google LLC
winget install --id=Google.Libwebp -e
We provide in the libwebp codec distribution a reference implementation for the encoder and decoder applications, cwebp and dwebp respectively, to showcase the available functionalities of WebP. cwebp compresses an image using the WebP format. Input format can be either PNG, JPEG, TIFF, WebP or raw Y'CbCr samples. Note: Animated PNG and WebP files are not supported. dwebp decompresses WebP files into PNG, PAM, PPM or PGM images. Note: Animated WebP files are not supported. gif2webp converts a GIF image to a WebP image. img2webp compresses a sequence of images using the animated WebP format. Input images can either be PNG, JPEG, TIFF or WebP. If a single file name (not starting with the character '-') is supplied as the argument, the command line arguments are actually tokenized from this file. This allows for easy scripting or using a large number of arguments. vwebp decompresses a WebP file and displays it in a window using OpenGL. webpinfo can be used to print out the chunk level structure and bitstream header information of WebP files. It can also check if the files are of valid WebP format. webpmux create animated WebP files from non-animated WebP images, extract frames from animated WebP images, and manage XMP/EXIF metadata and ICC profile.
Libwebp is a versatile image codec distribution that provides essential tools for working with the WebP image format. It includes a reference implementation of encoder (cwebp) and decoder (dwebp) applications, designed to convert images to and from WebP format while maintaining high quality and efficiency.
Key Features:
- Advanced Image Compression: The cwebp encoder supports adjustable compression settings, allowing users to balance file size and image quality effectively. It also offers advanced options for fine-tuning output.
- Flexible Decoding Capabilities: The dwebp decoder enables conversion of WebP images to PNG or PPM formats, ensuring compatibility with a wide range of applications and workflows.
- Cross-Platform Compatibility: Libwebp is designed to work across multiple operating systems, making it accessible for diverse use cases.
- Comprehensive API: The distribution provides an extensive application programming interface (API) for developers looking to integrate WebP support into their own applications, browsers, or tools.
- Optimized Performance: By leveraging the WebP format, libwebp helps reduce file sizes without compromising visual quality, leading to faster loading times and improved user experience.