Live data from Hacker News

Squoosh: Make images smaller using best-in-class codecs, right in the browser

squoosh.app

1–10 of 36 posts

Re: Squoosh: Make images smaller using best-in-class codecs, right in the browser

#5
Squoosh does not use best-in-class codecs [1]. Lossless PNG compression is 5-15% worse on average and lossy PNG compression (color quantization) is limited to PNG-8, which is not enough to maintain image quality. Lossy JPEG compression is only tuned for 4:2:0 chroma subsampling and causes blurring of fine details because trellis quantization is guided simply by the variance in DCT domain.

[1] https://optimage.app/benchmark

Re: Squoosh: Make images smaller using best-in-class codecs, right in the browser

#6
post #2

mb != MB.

Given that literally nobody has ever needed, nor will they ever need, to talk about file sizes in millibits , there is no ambiguity involved.

Even though it’s unlikely anyone will think it’s referring to millibits, there’s still a decent chance some will assume Mb (Megabits) due to the lowercase 'b' instead of the intended MB (Megabytes).

Re: Squoosh: Make images smaller using best-in-class codecs, right in the browser

#7

Squoosh does not use best-in-class codecs [1]. Lossless PNG compression is 5-15% worse on average and lossy PNG compression (color quantization) is limited to PNG-8, which is not enough to maintain image quality. Lossy JPEG compression is only tuned for 4:2:0 chroma subsampling and causes blurring of fine details because trellis quantization is guided simply by the variance in DCT domain. [1] https://optimage.app/ben…

It's marketing hyperbole, no one really believes it's the absolute best-in-class.

The idea of this open source app from Google is to demonstrate a real world use case of porting legacy native code to the web via webassembly

Re: Squoosh: Make images smaller using best-in-class codecs, right in the browser

#8

Squoosh does not use best-in-class codecs [1]. Lossless PNG compression is 5-15% worse on average and lossy PNG compression (color quantization) is limited to PNG-8, which is not enough to maintain image quality. Lossy JPEG compression is only tuned for 4:2:0 chroma subsampling and causes blurring of fine details because trellis quantization is guided simply by the variance in DCT domain. [1] https://optimage.app/ben…

I tested it yesterday, and it seems good enough for me.

I'd love to use ImageOptim, but I don't have a Mac, and the web plans are too expensive for optimizing maybe two images every three months.

Re: Squoosh: Make images smaller using best-in-class codecs, right in the browser

#9
post #8

Squoosh does not use best-in-class codecs [1]. Lossless PNG compression is 5-15% worse on average and lossy PNG compression (color quantization) is limited to PNG-8, which is not enough to maintain image quality. Lossy JPEG compression is only tuned for 4:2:0 chroma subsampling and causes blurring of fine details because trellis quantization is guided simply by the variance in DCT domain. [1] https://optimage.app/ben…

I tested it yesterday, and it seems good enough for me. I'd love to use ImageOptim, but I don't have a Mac, and the web plans are too expensive for optimizing maybe two images every three months.

Try hackintosh it’s great fun if you like OS X

Re: Squoosh: Make images smaller using best-in-class codecs, right in the browser

#10
post #8

Earlier quoted context omitted.

I tested it yesterday, and it seems good enough for me. I'd love to use ImageOptim, but I don't have a Mac, and the web plans are too expensive for optimizing maybe two images every three months.

Try hackintosh it’s great fun if you like OS X

If you are a masochist, it’s for sure fun. If not, you really won’t like your installation constantly breaking, not being updatable without great trouble and just not being able to be relied upon in general.

Not to mention this is illegal.

Post reply on HN