pngquant
oxipng
pngquant | oxipng | |
---|---|---|
5 | 14 | |
5,028 | 2,648 | |
- | - | |
5.1 | 8.6 | |
16 days ago | 21 days ago | |
C | Rust | |
GNU General Public License v3.0 or later | MIT License |
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.
pngquant
-
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:
-
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.
-
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)
- Ask HN: Small scripts, hacks and automations you're proud of?
-
Optimising hundreds of gifs, offline
If use PNG you can use pngquant 2 for instance. More modern image formats may also compress your images further.
oxipng
- OxiPNG: Multithreaded PNG optimizer written in Rust
-
screen capture/snapshot utility with image optimization support/configurability
I have had good experiences with https://github.com/shssoichiro/oxipng . Although, I suspect this wouldn't give you nearly enough space savings as jpg.
- Ask HN: Small scripts, hacks and automations you're proud of?
-
Exported png image with color-to-alpha edit is huge
If you do want the file as a PNG (for transparency and a common format that's well supported), but don't want it so huge, consider something like oxipng. https://github.com/shssoichiro/oxipng
-
Name a program that doesn't get enough love!
oxipng, pngquant and svgcleaner — optimizing images
-
Losslessly Optimising Images
I wonder how `pngcrush` compares to `oxipng` (https://github.com/shssoichiro/oxipng).
Personally, I use `oxipng` if I want lossless compression. However, most of the time, I use `pngquant` instead, since it gives significant size reduction even at `99%` (I can't even distinguish between the original and reduced image).
pngquant --quality=99 --ext=.png --force file.png
-
Adobe plans to make Photoshop on the web free to everyone
Depending on your workflow it might make sense to export PNGs directly from Affinity and then reduce their size with a utility like Oxipng, which uses all your cores to find the best algorithm for each particular image.
- OptiPNG vs. PNGcrush vs. Gimp to Reduce PNG Size
-
Help processing massive videos (16k resolution)
Assuming your frames are PNG files, you could use a lossless optimizer like optipng to try if their size can be reduced. I prefer oxipng, which is faster and multithreaded, and seems to have more active development.
-
(Urgent) Best Image Compressor Sites That Barely Compress?
Not sure what extensions of images you use, but if they’re PNG you could use oxipng: https://github.com/shssoichiro/oxipng
What are some alternatives?
3d-game-shaders-for-beginners - 🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
squoosh - Make images smaller using best-in-class codecs, right in the browser.
flameshot - Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
ImageOptim - GUI image optimizer for Mac
mozjpeg - Improved JPEG encoder.
opencv-rust - Rust bindings for OpenCV 3 & 4
zettelkasten - Creating notes with the zettelkasten note taking method and storing all notes on github
sharp - High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
dotfiles - ben's dotfiles
image - Encoding and decoding images in Rust
semanticText - Copy paste tool that analyzes the semantic description of all text in the DOM
imageproc (PistonDevelopers) - Image processing operations