News for hackers. Stuff that matters.
Re:Compressing Images Using Google’s Guetzli by majewsky on Tuesday May 23, 2017 @05:07AM (#14399882)
Cool stuff indeed. Two things:

> Should be noted that there was not any form of image compression before.

I consider that unlikely, given that they were starting out with JPEG files, which are usually compressed. (Does JPEG even have a non-compressed mode?)

> Being a JPEG encoder, it cannot output PNGs (so no transparency). But it can convert and compress your PNGs.

How does Guetzli compare against PNG compression for the things that PNG is good at, i.e. diagrams and sketches with a small palette? I'd like to see a comparison where the same PNG file is compressed with optipng on one hand, and converted to JPEG and compressed with Guetzli on the other hand, and then they look at file size and the amount of artifacts.

optipng can really squeeze PNGs if the palettes are small. For example, this decorational image from a website I did is 2400x160 pixels large, but fits in barely over 1 KiB: https://fsfw-dresden.de/theme/img/banner.png

Re:Compressing Images Using Google’s Guetzli by kuon on Tuesday May 23, 2017 @05:10AM (#14399894)
Yes JPEG has a lossless mode.
Re:Compressing Images Using Google’s Guetzli by klodolph on Tuesday May 23, 2017 @08:26AM (#14400598)
The answer is "no", because lossless compression is still compression. But there's no chance that a website was using lossless JPEG, since it's very poorly supported.
Re:Compressing Images Using Google’s Guetzli by tpetry on Tuesday May 23, 2017 @05:26AM (#14399950)
There are no standard losless jpegs. Even a quality of 100% will introduce loss. Only JPEG2000 is lossless, but unsupported for the web because of patent claims.
Re:Compressing Images Using Google’s Guetzli by kuon on Thursday May 25, 2017 @05:46PM (#14420365)
I was refering at https://en.wikipedia.org/wiki/Lossless_JPEG which is not compatible with regular JPEG.
Re:Compressing Images Using Google’s Guetzli by bhouston on Tuesday May 23, 2017 @07:48AM (#14400445)
JPEG2000 from 2000, hence the name. Shouldn't that thing be coming off patent soon?

Does anyone know which patents cover JPEG2000 and their expiry dates?