Software Alternatives & Reviews

libjpeg-turbo VS mozjpeg

Compare libjpeg-turbo VS mozjpeg and see what are their differences

libjpeg-turbo logo libjpeg-turbo

libjpeg-turbo is a derivative of libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to...

mozjpeg logo mozjpeg

Mozilla JPEG Encoder Project
  • libjpeg-turbo Landing page
    Landing page //
    2023-09-24
  • mozjpeg Landing page
    Landing page //
    2023-08-04

Category Popularity

0-100% (relative to libjpeg-turbo and mozjpeg)
Game Development
46 46%
54% 54
Game Engine
54 54%
46% 46
3D Game Engine
52 52%
48% 48
Prototyping
53 53%
47% 47

User comments

Share your experience with using libjpeg-turbo and mozjpeg. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, mozjpeg should be more popular than libjpeg-turbo. It has been mentiond 13 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

libjpeg-turbo mentions (2)

  • JDK 21 - Image Performance Improvements
    This is interesting from the standpoint of how new JVM features can be used to improve performance (what I presume the article's main purpose to have been), but the image processing improvement itself isn't head-turning. Also, we've found that libjpeg-turbo (https://libjpeg-turbo.org/) is ~5x (IIRC, can re-run my JMH benchmark if anyone wants me to) as fast for decoding JPEGs as ImageIO, so we wouldn't even... Source: about 1 year ago
  • How to go about implementing file encoding [Question]
    For all but the simplest formats (basically BMP), the difficulty of implementing encoding/decoding from scratch is significant - well beyond a beginner's ability, and challenging/time-consuming even for senior developers. So, libraries are used in practice - e.g. Libpng and libjpeg-turbo. Source: over 2 years ago

mozjpeg mentions (13)

  • It's the future – you can stop using JPEGs
    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. - Source: Hacker News / 5 months ago
  • Random Code Inspiration Volume 2
    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:. - Source: dev.to / 7 months ago
  • JPEG XL: How It Started, How It’s Going
    > 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.... - Source: Hacker News / 9 months ago
  • Why there may never be a libjpeg-turbo 3.1
    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. - Source: Hacker News / 10 months ago
  • Are all JPEG compression implementations the same?
    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... - Source: Hacker News / about 1 year ago
View more

What are some alternatives?

When comparing libjpeg-turbo and mozjpeg, you can also consider the following products

libpng - libpng is the official Portable Network Graphics (PNG) reference library (originally called pnglib).

Guetzli - JPEG encoder from Google Research that aims for great compression with high visual quality.

libjpeg - libjpeg is a widely-used free software library written in C which implements JPEG decoding and...

libtiff - Libtiff is a library for reading and writing Tagged Image File Format (abbreviated TIFF) files.

Review Lancer - Reviewlancer also provide a platform for Developers or Marketers to free exchange app reviews and ratings. Now market your app for zero budget.

libspng - libspng is a C library for reading and writing Portable Network Graphics (PNG) format files with a...