Why You Should Convert Your Images To WebPby@smpnjn
308 reads

Why You Should Convert Your Images To WebP

August 1st 2022
3 min
by @smpnjn 308 reads
tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

WebP is a broadly supported compressed image format that is becoming more common across the web. Storing your images as `webp` can reduce the size of your web pages, while still maintaining the image quality you need. The image size savings can be pretty significant, meaning your pages will load a lot faster. We can use cwebp to convert all of our images to 'webp' using a 'for` loop' command. In HTML, we can use our image file with a fallback to the original `png` file using the `<picture> tag.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Why You Should Convert Your Images To WebP
Johnny Simpson HackerNoon profile picture

@smpnjn

Johnny Simpson

About @smpnjn
LEARN MORE ABOUT @SMPNJN'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa