Step 2: Converting and Reverting with Command Lines With these steps completed, you’re now prepared to convert images to WebP using command line instructions. This step installs the libwebp, which is the WebP Library. Then, enter the command sudo port install webp and hit Enter.This action will update MacPorts to its most recent version. Input sudo port selfupdate and hit Enter.If MacPorts is already set up on your Mac, skip to the next step. WEBP Images as JPG and PNG Step 1: Setting Up MacPortsīegin by ensuring Xcode is installed on your machine. For those on Windows and Linux, please click here. While cwebp converts your JPEG, PNG, or TIFF images into WebP format, dwebp reverts them back to PNG. If you have a penchant for command lines and want a more hands-on approach, the tools cwebp and dwebp might be for you. Filesize after converting to WebP: 6.3mbīelow is a table summarizing the results of the experiment:.Original filesize before conversion: 6.8mb. To further test the efficiency of WebP on animated GIFs, consider the following results: Upon converting to WebP format, a JPEG image reduced from 165kb to 70kb, and a PNG image dropped from 587kb to 112kb. Here’s the same PNG image after being optimized with tinypng.Īnd here’s the same image after being converted to the WebP format. This is the same image after being optimized using JpegMini.Īnd here’s the same image, optimized and then converted to the WebP format.įor reference, here are the file sizes of the same image when converted to other formats: I conducted several tests to determine how much an image’s size could be reduced when converted from various formats (JPEG, PNG, and GIF) to WebP. We can always run experiments to assess their truthfulness and authenticity. One of the best aspects of claims on the web is their verifiability. Is WebP Smaller? An Experiment with Images
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |