Why WebP and SVG Aren't Always Smaller Than JPEG: A Real-World Example
Why WebP and SVG Aren't Always Smaller Than JPEG: A Real-World Example
It's a common belief that SVG or WebP images are typically smaller than JPEG files. However, that's not always the case. In the example below, I converted the same image into three different formats—JPEG, WebP, and SVG—and found surprising results.
- Original JPEG: 217 KB
- Converted to WebP (using GIMP): 240 KB
- Converted to SVG (using Inkscape): 308 KB
As you can see, the WebP version turned out to be larger than the original JPEG, and the SVG file was even bigger. This contradicts the expectation that WebP and SVG are always smaller and more efficient.
To illustrate this, I've uploaded all three versions of the image for comparison. This outcome highlights that the size advantage of WebP or SVG over JPEG can vary depending on the content of the image and the tools used for conversion. It's a reminder that when optimizing images, it's essential to test different formats rather than assuming one will always be superior.
JPEG here
See here WEBP bigger size
See here SVG format
and here is the original jpeg image
1 Sept 2024 Sunday
Share on Facebook