Page 1 of 1

mozjpeg - image compression tool

Posted: Fri Mar 07, 2014 3:30 pm
by SYSTEM
Mozilla has announced a new JPEG compression library that attempts to make JPEG images smaller without changing the file format.

http://www.extremetech.com/computing/17 ... st-century

Re: mozjpeg

Posted: Sat Mar 08, 2014 12:27 pm
by webfork
Damn -- there's no binary version. It's just source code. 2021 EDIT: You can get this as part of a suite of JPEG compression tools in FileOptimizer, which is portable.

Whatever the case, it's still great news. I have probably 1,000 images on my drive and if I can cut ~10% each of those, that's no small achievement. Kudos to Mozilla for going this route, although I do hope someone comes up with a full replacement that isn't patent encumbered.

Re: mozjpeg

Posted: Mon Mar 10, 2014 1:16 am
by carbonize
Well Google is again trying to own the internet and has come up with WebP but just like WebM I suspect there are patent issues in there. That and no new format is every going to replace old ones any time soon just because of the human Psyche. MP3 is god knows how old but is still the main format for digital audio.

Re: mozjpeg

Posted: Fri Mar 14, 2014 2:27 pm
by webfork
carbonize wrote:but just like WebM I suspect there are patent issues in there
I can't speak to WebM but WebP wasn't considered by many to be an adequate replacement, though it's great for thumbnails: https://en.wikipedia.org/wiki/WebP#Criticism Although it's patent status is supposedly in the clear.

Re: mozjpeg

Posted: Fri Mar 14, 2014 2:41 pm
by carbonize
That's pretty old though and was about V8 but believe we are now on V9

Re: mozjpeg

Posted: Sat Mar 15, 2014 2:08 am
by SYSTEM
carbonize wrote:That's pretty old though and was about V8 but believe we are now on V9
WebP is based on VP8, and AFAIK there are no plans to switch to VP9.

Re: mozjpeg

Posted: Sun Mar 19, 2017 1:06 pm
by webfork
Google has also put out an open JPEG encoder "Guetzli". Unlike mozjpeg, this is a high-compression, lossy, and very slow tool for high-usage web images. In other words, use mozjpeg (contained in FileOptimizer) for any JPEGs you want to shrink and Guetzli on frequently downloaded images.

News: https://www.dpreview.com/news/300217213 ... ller-files
Announcement post: https://research.googleblog.com/2017/03 ... -jpeg.html

Re: mozjpeg

Posted: Sun Mar 19, 2017 1:38 pm
by billon

Re: mozjpeg

Posted: Mon Mar 20, 2017 12:14 pm
by lintalist
Guetzli: Tried it, AV blocked execution of Guetzli as it reports "trojan detected" so haven't been able to actually test it yet.

Re: mozjpeg

Posted: Sun Oct 29, 2017 10:31 am
by Midas

Re: mozjpeg

Posted: Sun Oct 29, 2017 11:09 am
by webfork
Midas wrote:Any experiences with BPG
Unfortunately there's no support for the format beyond the developer's tool and this came out back in 2014. Not even XnView and Irfanview, which support 100s of formats.

I think the lack of solutions on this topic is ultimately what drove Mozilla to put out an enhanced JPEG compression tool.

Re: mozjpeg

Posted: Fri Oct 26, 2018 9:33 am
by SYSTEM
Mozilla is now planning to support the WebP image format in Firefox starting from first half of 2019: https://www.cnet.com/news/firefox-to-su ... aster-web/

Re: mozjpeg

Posted: Sun Oct 28, 2018 12:59 pm
by webfork
SYSTEM wrote: Fri Oct 26, 2018 9:33 am Mozilla is now planning to support the WebP image format in Firefox starting from first half of 2019: https://www.cnet.com/news/firefox-to-su ... aster-web/
Interesting. It's probably one of those things where they don't want to avoid a format that almost everyone else covers. I don't do a lot of webdev work anymore but wouldn't have much to do with the format if I was. I just don't understand the use case for anything other than thumbnails.