https://agileblaze.com/google-guetzli-image-compression-setu...
Guetzli: A New Open-Source JPEG Encoder
81–90 of 135 posts
Re: Guetzli: A New Open-Source JPEG Encoder
#82Why spend a lot of time improving jpeg instead of spending time promoting a HEVC-based standard like that one? http://bellard.org/bpg/
There is no way we will start paying royalties to show images on the web.
Re: Guetzli: A New Open-Source JPEG Encoder
#83Earlier quoted context omitted.
It is old school: 100000+ cpu hours of Nelder-Mead method (+common tricks) to match butteraugli to a set of 4000 human rated image pairs created with an earlier version of Guetzli and specially-built image distortion algorithms.
How did you protect against overfitting? How about local maxima? Some of your constants look surprising to say the least. Most notably: * The gamma value of 0.38 (when most studies suggest 1.5 - 2.5 for human eye gamma) * The significant difference in the vertical and horizontal constants (when as far as I know human eyes are equally sensitive to most distortions independant of angle).
In this use the gamma is the inverse of something close to 2.6. Butteraugli needs both gamma correction and inverse gamma correction.
The FFT co-efficients only look weird, but they should actually lead to a symmetric result if our math is correct. In a future version we move away from the FFT, so I don't encourage anyone to actually debug that too much.
Re: Guetzli: A New Open-Source JPEG Encoder
#84As the author of the original libjpeg (back in 1991), I think this has been a long time coming! More power to Google.
Impressive :) What are you on these days ? image codecs still ?
The original libjpeg code was written to try and change the Usenet News binary pictures groups over from GIF to JPEG (so that more images would fit down the rather narrow transatlantic pipe that I had at the time). The choice of license turned out to be a good one (it predated the GPL V2) -- who knows what would have happened if we (the precursor to the IJG) had chosen that one.
Re: Guetzli: A New Open-Source JPEG Encoder
#85This seems to be optimizing for a "perceptual loss function" over in https://github.com/google/butteraugli/blob/master/butteraugl... Looking at the code to that, it looks like 1500 lines of this: double MaskDcB(double delta) { PROFILER_FUNC; static const double extmul = 0.349376011816; static const double extoff = -0.894711072781; static const double offset = 0.901647926679; static const double scaler = 0.38008609502…
Re: Guetzli: A New Open-Source JPEG Encoder
#86Earlier quoted context omitted.
Would it be possible to accelerate Guetzli on a GPU?
It appears that FFT can be GPU accelerated. Nvidia has cuFFT which claims to be 10x faster.
Re: Guetzli: A New Open-Source JPEG Encoder
#87Earlier quoted context omitted.
Any plans for a Wordpress plugin like TinyPNG has? We use that currently but TinyPNG's JPG output leads to visible pixilation.
Try out the https://kraken.io plugin. Kraken.io's optimization is more about fidelity to the original than maximising file size savings.
Re: Guetzli: A New Open-Source JPEG Encoder
#88Re: Guetzli: A New Open-Source JPEG Encoder
#89Earlier quoted context omitted.
So... machine learning? (Sorry for buzz-wording)
It is old school: 100000+ cpu hours of Nelder-Mead method (+common tricks) to match butteraugli to a set of 4000 human rated image pairs created with an earlier version of Guetzli and specially-built image distortion algorithms.
Re: Guetzli: A New Open-Source JPEG Encoder
#90Cool, but neither the article nor the paper ( https://arxiv.org/pdf/1703.04416.pdf ) mention just how much slower it is.