Software Alternatives & Reviews

libpng VS libjpeg-turbo

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

libpng logo libpng

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

libjpeg-turbo logo libjpeg-turbo

libjpeg-turbo is a derivative of libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to...
  • libpng Landing page
    Landing page //
    2023-07-06
  • libjpeg-turbo Landing page
    Landing page //
    2023-09-24

libpng videos

How To Fix Libpng or Libplayer.so issue?

More videos:

  • Review - Snowflakes with OpenGL and transparent textures via libPNG

libjpeg-turbo videos

No libjpeg-turbo videos yet. You could help us improve this page by suggesting one.

+ Add video

Category Popularity

0-100% (relative to libpng and libjpeg-turbo)
Game Engine
49 49%
51% 51
Game Development
49 49%
51% 51
3D Game Engine
52 52%
48% 48
Prototyping
43 43%
57% 57

User comments

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

Social recommendations and mentions

Based on our record, libjpeg-turbo should be more popular than libpng. It has been mentiond 2 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.

libpng mentions (1)

  • PNG Specification (Third Edition) W3C Working Draft 20 July 2023
    Is this by the same people or is it a competitor to the PNG development group (http://libpng.org/pub/png/)? The latter's website still heavily says that PNG is a still image only format, and promotes MNG as the animation alternative. Of course, that's not how web browsers have played it out, and it also appears to me that the libpng source code still lacks "APNG" support. This makes me think it's a competing... - Source: Hacker News / 10 months ago

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

What are some alternatives?

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

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

mozjpeg - Mozilla JPEG Encoder Project

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

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

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

GIFLIB - GIFLIB is a software library for rendering and generating GIF image files.