Chaos Corona Forum

General Category => General CG Discussion => Topic started by: Jens on 2017-03-25, 09:16:20

Title: Google's new Guetzli .jpg compression - how to use it?
Post by: Jens on 2017-03-25, 09:16:20
Hi guys

I noticed that Google has made some pretty big improvements to .jpg image compression and made it open source: https://github.com/google/guetzli (https://github.com/google/guetzli)

Now, not being at all comfortable with this stuff I wonder if any of you guys know how to put that code to use?

I tried searching for some small program or upload service like tinyjpg.com, but found nothing.
Title: Re: Google's new Guetzli .jpg compression - how to use it?
Post by: romullus on 2017-03-25, 15:25:25
Quote
You should count on using about 1 minute of CPU per 1 MPix of input image.

Pfff...
Title: Re: Google's new Guetzli .jpg compression - how to use it?
Post by: Juraj on 2017-03-25, 15:32:17
Quote
You should count on using about 1 minute of CPU per 1 MPix of input image.

Pfff...

:- D Wat. Is that true ? So it's like... 100 times slower than current algorithms ?
Title: Re: Google's new Guetzli .jpg compression - how to use it?
Post by: Ondra on 2017-03-26, 12:30:08
Quote
You should count on using about 1 minute of CPU per 1 MPix of input image.

Pfff...

:- D Wat. Is that true ? So it's like... 100 times slower than current algorithms ?
maybe they dont know what CPUs we have :D
Title: Re: Google's new Guetzli .jpg compression - how to use it?
Post by: romullus on 2017-03-26, 14:46:02
Quote
You should count on using about 1 minute of CPU per 1 MPix of input image.

Pfff...

:- D Wat. Is that true ? So it's like... 100 times slower than current algorithms ?
maybe they dont know what CPUs we have :D
I don't know what CPUs you guys have, but i think i have exactly that CPU :]
Title: Re: Google's new Guetzli .jpg compression - how to use it?
Post by: Ondra on 2017-03-26, 14:50:36
I am trying it and they were not lying about the processing times... 19 minutes and 4.5 GB ram later it is still running on 18MPix image...
Title: Re: Google's new Guetzli .jpg compression - how to use it?
Post by: romullus on 2017-03-26, 14:54:29
Could you upload processed JPEG when it's finished. And original if possible. Very curious to see the difference :]
Title: Re: Google's new Guetzli .jpg compression - how to use it?
Post by: Ondra on 2017-03-26, 16:08:25
already deleted them :/ but you can try it yourself ;)
Title: Re: Google's new Guetzli .jpg compression - how to use it?
Post by: romullus on 2017-03-26, 16:58:47
Pfff... :]
Title: Re: Google's new Guetzli .jpg compression - how to use it?
Post by: Jens on 2017-03-26, 18:03:45
I am trying it and they were not lying about the processing times... 19 minutes and 4.5 GB ram later it is still running on 18MPix image...

Ouch! Think I'll give up on that one then.

Can I ask what you guys normally do to compress large images for web? Normally I do it manually through the "save for web" in PS or if I have a bunch, I drag 'n drop to tinyjpg.com

Not getting a satisfying results on this set of images though. I'm on like 0.5mb for a 2k jpg image for a full screen landingpage. Curious if any one is using some other compression method available?
Title: Re: Google's new Guetzli .jpg compression - how to use it?
Post by: Ondra on 2017-03-27, 00:45:36
I am trying it and they were not lying about the processing times... 19 minutes and 4.5 GB ram later it is still running on 18MPix image...

Ouch! Think I'll give up on that one then.

Can I ask what you guys normally do to compress large images for web? Normally I do it manually through the "save for web" in PS or if I have a bunch, I drag 'n drop to tinyjpg.com

Not getting a satisfying results on this set of images though. I'm on like 0.5mb for a 2k jpg image for a full screen landingpage. Curious if any one is using some other compression method available?
I buy bigger web server from time to time... there is about 25GB of user-uploaded images on Corona forum currently ;)
Title: Re: Google's new Guetzli .jpg compression - how to use it?
Post by: Jens on 2017-03-27, 22:38:32
I am trying it and they were not lying about the processing times... 19 minutes and 4.5 GB ram later it is still running on 18MPix image...

Ouch! Think I'll give up on that one then.

Can I ask what you guys normally do to compress large images for web? Normally I do it manually through the "save for web" in PS or if I have a bunch, I drag 'n drop to tinyjpg.com

Not getting a satisfying results on this set of images though. I'm on like 0.5mb for a 2k jpg image for a full screen landingpage. Curious if any one is using some other compression method available?
I buy bigger web server from time to time... there is about 25GB of user-uploaded images on Corona forum currently ;)

hehe ouch! Server size isn't the issue in this case though. It's to keep the site loading times at a minimum :)