Skip to content

Image size differences between older install and v6.2.5 #561

Answered by simonkrol
jgrims91 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jgrims91, Yep that's perfect, looks like you're running V2.0.0.

The main factor here is that versions prior to v4 use Thumbor to provide image processing, while versions v4+ use the npm package Sharp to process images. While I haven't personally worked with Thumbor, it appears that it provides some default processing/compression of images to reduce their size.

After some investigation on the Sharp side, it does appear that the default quality for PNGs is 100 (unlike for many other file types, which is why you didn't see this issue when converting to WebP), so this issue would be exacerbated when using PNGs. If you have a chance, I'd be interested to know what sort of size differences …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jgrims91
Comment options

@simonkrol
Comment options

Answer selected by simonkrol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants