Why You Should Convert Your Images To WebPby@smpnjn
1,348 reads
1,348 reads

Why You Should Convert Your Images To WebP

by Johnny Simpson3mAugust 1st, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Johnny Simpson

Johnny Simpson

@smpnjn

Product, Engineering, Web

About @smpnjn
LEARN MORE ABOUT @SMPNJN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Johnny Simpson HackerNoon profile picture
Johnny Simpson@smpnjn
Product, Engineering, Web

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here