Software Alternatives, Accelerators & Startups

pngquant

command-line utility and library for lossy compression of PNG images.

pngquant

pngquant Reviews and Details

This page is designed to help you find out whether pngquant is good and if it is the right choice for you.

Screenshots and images

  • pngquant Landing page
    Landing page //
    2018-10-22

Features & Specs

  1. High Compression Rate

    pngquant can significantly reduce the file size of PNG images while maintaining a high visual quality, often achieving compression rates of 60-70%.

  2. Lossy and Lossless Options

    It offers both lossy and lossless compression options, providing flexibility based on the user's needs for quality and file size.

  3. Cross-Platform Support

    pngquant is available for multiple platforms, including Windows, macOS, and Linux, making it accessible to a wide range of users.

  4. Open Source

    Being open-source software, pngquant allows users to inspect, modify, and enhance the code, ensuring transparency and community-driven improvements.

  5. Easy to Integrate

    The command-line interface allows for easy integration into various workflows, such as automated image processing pipelines and web development projects.

  6. Preserves Transparency

    It maintains full alpha channel support, preserving the transparency of images which is crucial for web graphic design.

Badges

Promote pngquant. You can add any of these badges on your website.

SaaSHub badge
Show embed code

Videos

Compress PNG Images Up To 80% While Keeping Transparency With pngquant

OptiPNG JpegOptim PNGQuant Siberian CMS

Social recommendations and mentions

We have tracked the following product recommendations or mentions on various public social media platforms and blogs. They can help you see what people think about pngquant and what they use it for.
  • Lazy Loading, Code Splitting, and Image Optimization for SaaS Applications
    Optimize images at every step: Compress with mozjpeg/ pngquant, resize to actual display dimensions, serve progressive JPEGs, and use CDNs with on-the-fly optimization (Cloudinary, imgix). - Source: dev.to / 3 months ago
  • Chromium Has Merged JpegXL
    No I meant lossy. This is the library I use; https://pngquant.org/. - Source: Hacker News / 6 months ago
  • Chrome Jpegxl Issue Reopened
    Fair point, though not entirely true: you can run an image through lossy compression and store the result in a PNG, using tools like pngquant [1]. Likely not as efficient for many kinds of images, but totally doable. [1] https://pngquant.org/. - Source: Hacker News / 8 months ago
  • Building an Enhanced Squoosh: High-Performance Local Image Compression with libimagequant-wasm
    The cornerstone of our enhancement is libimagequant-wasm, a WebAssembly port of the industry-standard pngquant library. This library uses a sophisticated color quantization algorithm that produces visually superior results compared to simple palette reduction. - Source: dev.to / 9 months ago
  • Scripts I wrote that I use all the time
    Nice. I have a command similar to the one listed "removeexif" called prep_for_web which takes any image file (PNG, BMP, JPG, WebP), scrubs EXIF data, checks for transparency and then compresses it to either JPG using MozJPEG or to PNG using PNGQuant. [1] https://github.com/mozilla/mozjpeg [2] https://pngquant.org. - Source: Hacker News / 9 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 / almost 3 years ago
  • keeping collection size down (for ankiweb) when needing lots of image cards/notes
    Searching more I found https://pngquant.org/ which I could add to my bulk workflow to make most png's approach the jpeg size. Source: about 3 years ago
  • screen capture/snapshot utility with image optimization support/configurability
    But this did prompt me to do some searching, and I see https://pngquant.org/ which seems to achieve jpeg like size reduction while maintaining the file as a png. One difference they note is that this method will typically preserve sharp edges better than jpeg (which is probably a strong plus for my type of use case). Source: about 3 years ago
  • Exported png image with color-to-alpha edit is huge
    Pngquant is also great for shaving filesizes down, but unlike oxipng, it's explicitly lossy. It'll reduce colors and even dither, but it will try to keep an image visually similar. Https://pngquant.org/. Source: over 3 years ago
  • Name a program that doesn't get enough love!
    Oxipng, pngquant and svgcleaner โ€” optimizing images. Source: over 3 years ago
  • CoinOpsX - Performance Improvement Tips
    -https://pngquant.org/ compress png without losing transparency. Source: over 3 years ago
  • what are the best libraries to compress images in React native ?
    In most cases we're trying to use svg. In case of png's, to compress it we use this tool https://pngquant.org/. Source: over 3 years ago
  • So, anyone else wants GIF export?
    Gif's uses a limited palette of 256 colors. How do you make that palette. There are many options just here. A user defined palette, a palette based on the average use of colors (perceptually based on the human eye or just based on raw image data), create it using the pngquant library or maybe some machine learning voodoo? And these are just the one I could think of right now:) Following that, should you be able... Source: over 3 years ago
  • Your fly is down
    While you are correct, in real world tools like https://pngquant.org/ blur the line. Source: over 3 years ago
  • Low on space? This app might be helpful.
    I'd like to give a shoutout to pngquant. https://pngquant.org/. Source: almost 4 years ago
  • J40: Independent, self-contained JPEG XL decoder
    AVIF is the example. It supports palette-based blocks in addition to classic DCT with sophisticated deringing. There's also https://pngquant.org and https://github.com/richgel999/rdopng. - Source: Hacker News / almost 4 years ago
  • Full Godot 3.5.rc5 editor with included support for the PlayStation Vita
    Any LiveArea assets HAVE to be 8-bit indexed AND have to be the sizes listed. Otherwise VPK installation will fail I like to use pngquant. Source: about 4 years ago
  • Whatโ€™s the best lossless image format?
    If your dataset allows it, I would look at pngquant for "lossy" compression of PNG images by means of color quantization: https://pngquant.org/ This works absolute wonders if you are talking about images with a limited amount of colors and without many gradients. I use it to compress screenshots of websites, which, if you think about it, are mostly large blobs of uniform colors with hard edges. I also use it every... - Source: Hacker News / about 4 years ago
  • Colors distorted after PNG > AVIF Photo conversion
    Except that you don't know that with PNG either, other than for images you've transcoded yourself. Plenty of PNG optimization programs use lossy methods (AFAIK mostly color quantization, see pngquant), and you can't know if an image you got off the internet has been run through such a processor. And besides, you never know what's been done to the image prior to it being converted to PNG, making it non-lossless. Source: about 4 years ago
  • 3 idiots fighting while a gigachad teaches a life lesson to his student
    Generally speaking, absolutely. In this case, no. These were core contributors to AV1, JPG XL, and so on. For example, one of them was Kornelski, the guy who wrote https://gif.ski/ and https://pngquant.org/. They know more about this shit than you and me, and between also explained to me how bad a choice APNG was. Source: over 4 years ago
  • Best quality .png?
    While full PNG is lossless, you can still do lossy 8-bit PNG with pngquant, using a custom palette - and it is an excellent way to optimize a PNG for size while minimizing quality loss. It is not going to win you any awards for medical photography, but if you are producing graphics for the web, pngquant is awesome. It is kinda-like mozjpeg for PNGs. Source: over 4 years ago

Do you know an article comparing pngquant to other products?
Suggest a link to a post with product alternatives.

Suggest an article

pngquant discussion

Log in or Post with

Is pngquant good? This is an informative page that will help you find out. Moreover, you can review and discuss pngquant here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.