Interesting effect with and : I have a source PNG that is 2096 x 1536. When I resize it to 1280 x 938 with Preview, the filesize drops from 736K to 726K. But pngcrushed the original is 493K and resized is 534K! Same with cwebp: 204K vs 364K.

Follow

I am guessing that your original png file doesn't have much meta data. But webp may be attaching some meta data to resulting image.

Also make user that they are not applying anti-aliasing and create shades of colors at the edges. PNG files can be amasingly tiny at high resolution thanks to limited color count in the image. Increasing image count can increase the file size without changing the resolution.

Rotating image can cause anti-aliasing like effect too.

@nicd

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.