mozjpeg VS core-js

Compare mozjpeg vs core-js and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
mozjpeg core-js
19 141
5,353 23,853
0.8% -
6.2 9.8
4 months ago about 22 hours ago
C JavaScript
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

mozjpeg

Posts with mentions or reviews of mozjpeg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.
  • WebP is so great except it's not
    1 project | news.ycombinator.com | 15 Dec 2023
    [2] https://github.com/mozilla/mozjpeg
  • It's the future – you can stop using JPEGs
    2 projects | news.ycombinator.com | 8 Dec 2023
    It would be nice if the author would add mozjpeg[1] to the comparison. At certain sizes, it can produce smaller sizes than WebP, and because it is still a jpeg, it has a much better compatibility story, which the author alluded to.

    [1]https://github.com/mozilla/mozjpeg

  • Random Code Inspiration Volume 2
    7 projects | dev.to | 1 Oct 2023
    image-shrinker is a simple, easy to use open source tool for shrinking images. Under the hood it uses pngquant, mozjpg, SVGO, and gifsicle. You can also install these tools individually if you need to compress some images. I often use pngquantafter exporting PNGs for web projects from Figma or similar tools. I literally run it like this:
  • JPEG XL: How It Started, How It’s Going
    5 projects | news.ycombinator.com | 20 Jul 2023
    > MozJPEG is a patch for libjpeg-turbo. Please send pull requests to libjpeg-turbo if the changes aren't specific to newly-added MozJPEG-only compression code.

    https://github.com/mozilla/mozjpeg#mozilla-jpeg-encoder-proj...

  • Why there may never be a libjpeg-turbo 3.1
    4 projects | news.ycombinator.com | 4 Jul 2023
    FWIW, Mozilla has been maintaining their own fork for quite a while now[1]

    AFAIK most Linux Distros have been using libjpeg-turbo as a drop-in replacement for libjpeg, after some drama in ~2010 where libjpeg came under new management, decided to break ABI/API several times over and add incompatible, non-standard format extensions[2].

    [1] https://github.com/mozilla/mozjpeg

    [2] https://en.wikipedia.org/wiki/Libjpeg#History

  • Are all JPEG compression implementations the same?
    1 project | news.ycombinator.com | 12 Mar 2023
    No.

    See https://github.com/mozilla/mozjpeg

    Also, there is a fairly big problem with JPG that the ‘quality’ setting is not calibrated. That is you might look at one image and think it looks fine (which is subjective, depends on what you want to use the image for…) with a quality of 60%, but then you compress a million images at that rate, delete the originals, then you find that many of them look really awful. Not only that but there are images you could have compressed more and still been happy with the output.

    If you are publishing images for the web consider using WebP which is consistently better, well supported now, and has a calibrated quality knob.

  • reduce the size of a bunch of jpg
    2 projects | /r/ffmpeg | 6 Sep 2022
    https://github.com/mozilla/mozjpeg's cjpeg tool is the command line version of the mozjpeg library, itself a fork of libjpeg-turbo. Mozjpeg performs lossless JPEG optimization. There are plenty of others out there.
  • Lossy Image Compression with Dithering
    1 project | /r/programming | 23 Jul 2022
    Use the Mozilla JPEG Encoder, which implements several tricks for smaller file size / better visual quality. The result is still JPEG standard compatible that other software can decode.
  • Fighting JPEG Color Banding
    3 projects | news.ycombinator.com | 24 Jun 2022
    Guetzli was already mentioned and roughly does what you are talking about.

    MozJPEG [1] includes several quantization tables that are optimized for different contexts (see the quant-table flag and source code for specific tables[2]), and the default quantization table has been optimized to outperform the recommended quantization tables in the original JPEG spec (Annex K).

    It's also worth noting that MozJPEG uses Trellis quantization [3] to help improve quality without a per-image brute force quantization table search. Basically rather than determining an optimal quantization table for the image, it minimizes rate distortion on a per-block level by tuning the quantized coefficients.

    [1] https://github.com/mozilla/mozjpeg

    [2] https://github.com/mozilla/mozjpeg/blob/5c6a0f0971edf1ed3cf3...

    [3] https://en.wikipedia.org/wiki/Trellis_quantization

  • FFmpeg now supports JPEG XL
    7 projects | news.ycombinator.com | 27 Apr 2022
    They're still being used. A newer, optimized JPEG encoder, mozJPEG[0], seems to use progressive encoding by default. I suspect with faster internet speeds, most images download and decode so fast that the cool 'enhance' animation doesn't happen anymore.

    [0] https://github.com/mozilla/mozjpeg

core-js

Posts with mentions or reviews of core-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-04.
  • Emacs' helm is maintained by one maintaner for 11 years long
    1 project | news.ycombinator.com | 22 Dec 2023
    This is surprisingly common. The other example off the top of my head, a single maintainer of a very popular project who had to temporarily abandon it due to lack of funds, is Denis Pushkarev (zloirock) and core.js (https://github.com/zloirock/core-js/blob/master/docs/2023-02...).

    The majority of OSS projects have most of their contributions by one person (the project leader), and the vast majority of OSS contributors don't do it for their job. It seems nearly every single popular OSS project is like this (one unpaid, maybe sponsored, volunteer doing most of the work); it's not even worth listing projects and names, because you can just pick a couple projects you know and I bet at least one will be an example. Fortunately, most of these people seem to be well-off (probably in part due to the quality of programming jobs), but every once in a while there's someone who's not so fortunate. It should be more common to sponsor maintainers, especially if they are asking for donations provided they can prove that they really need the money (the world we live in, some people who have plenty fake issues to solicit donations, then others who genuinely need and deserve the money are scolded and left unfunded because of them).

  • Users are massively giving their 1-star reviews to AdBlocker
    1 project | news.ycombinator.com | 30 Nov 2023
    Funny you say that, I was just thinking earlier today back to the core-js drama.

    In short: the creator of a NPM package that is used by approximately everyone, everywhere, was facing a legal battle. He had been developing this package full time for years and did not have the cash on hand to hire a lawyer. He added a console log that ran on installing his package that said something like "If you're using core-js please consider donating". Queue an absolute shitstorm of people screaming at him in the github issues and him going to prison for around 10 months. Luckily he seems to be back on the grind nowadays, with a decently robust cross-platform slush fund to boot (~200k USD across Pateron, Open Collective, Bitcoin).

    It can be a rough world out there for the folks building for the "focus, productivity and anti-distraction" platform.

    https://github.com/zloirock/core-js

  • SpeakBits - A reddit alternative without the corporate baggage
    1 project | /r/SideProject | 30 Sep 2023
    I think everyone here knows that, at some point, the site would start costing a lot of money and would need to be funded in some way. I would love for the Wikipedia donation model to work for a site like this but everything I find points to that not being the case. Reddit gold not covering server costs and open source devs not tied to a corporation struggling to continue working on their projects being two prime examples. If anyone has anything that can convince me to give it a try, please let me know and I will switch this to a non-profit.
  • Why there may never be a libjpeg-turbo 3.1
    4 projects | news.ycombinator.com | 4 Jul 2023
    Open source developers are not being paid. They published under licenses that allow zero cost and businesses won't pay.

    If you want to write open source code for living, you have to find a business model that works. In this case, it is even under permissive license.

    * code freeze - code is under open source license only a certain time after commit/release. Maybe add "support", aka you get security fixes in timely manner.

    * open core - put some features behind commericial door.

    * go ImageSharp way of split license. That one is fun, because MS deprecated/killed (throws exceptions on attempt to use) official image/font library and that was was intended replacement. Rather blatant offloading of costs.

    This has been rehashed several time (core-js recently https://github.com/zloirock/core-js/blob/master/docs/2023-02...).

    The gist of it is: Companies are not going to pay if they don't have to. That is the reality and it's not going to change.

  • [Torte de Lini] After 375 changes, all 166 Standard Hero Guides are updated to patch 7.33d
    1 project | /r/DotA2 | 21 Jun 2023
    This is one of the few examples. https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md
  • I am an enthusiast of Linux. But... here is where it sucks
    2 projects | /r/linuxsucks | 17 Jun 2023
    Open source: It sounds pretty nice. Open to everyone... But it sucks in general. People really don't care to contribute to open-source. (e.g. here). It is a really good resource for development but for people who don't know anything about development, it is not important. There needs to be some financial income / support for good open-source.
  • Why you use Nodejs and depends 95% on third party libraries which only last of a year or two and don't use something like asp.net which is maintained by Microsoft?
    3 projects | /r/dotnet | 7 Jun 2023
    there is https://github.com/zloirock/core-js but is more or less a 1 guy team and he is grossly under paid and well just read this https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md im shocked he still works on it
  • Why Phoenix?
    1 project | /r/elixir | 28 May 2023
    Choice is good to a point but at some point it becomes crippling. It still haunts me on Rails. Is it yarn, is it brunch, is it npm, is it webpacker, is it esbuild, is it import maps... plus personally the pad-left debacle left a bad taste in my mouth and this little nugget about core-js was heartbreaking. For me it's hard to pick JS for anything other than what I absolutely must.
  • Journalists having bad ideas about software development
    1 project | /r/ProgrammerHumor | 11 May 2023
    There's a real story behind that (but the software is core-js, not nginx)
  • Discussion Thread
    1 project | /r/neoliberal | 7 May 2023
    npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. \> [email protected] postinstall /home/daniel/src/test/node_modules/core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

What are some alternatives?

When comparing mozjpeg and core-js you can also consider the following projects:

squoosh - Make images smaller using best-in-class codecs, right in the browser.

create-react-app - Set up a modern web app by running one command.

guetzli - Perceptual JPEG encoder

proxy-polyfill - Proxy object polyfill

wazero - wazero: the zero dependency WebAssembly runtime for Go developers

Angular - Deliver web apps with confidence 🚀

image-actions - A Github Action that automatically compresses JPEGs, PNGs and WebPs in Pull Requests.

node-sass - :rainbow: Node.js bindings to libsass

bimg - Go package for fast high-level image processing powered by libvips C library

es6-promise - A polyfill for ES6-style Promises

jpegoptim - jpegoptim - utility to optimize/compress JPEG files

fromentries - Object.fromEntries() ponyfill (in 6 lines)