scour VS optipng-bin

Compare scour vs optipng-bin and see what are their differences.

optipng-bin

optipng bin-wrapper that makes it seamlessly available as a local dependency (by imagemin)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
scour optipng-bin
5 4
738 98
0.8% -
0.0 4.7
10 months ago 5 months ago
Python JavaScript
Apache License 2.0 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.

scour

Posts with mentions or reviews of scour. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-11.
  • Is it possible to save multiple files as optimized SVGs at once?
    3 projects | /r/Inkscape | 11 Jun 2023
    You could install the optimizer Inkscape uses internally and process your files with a super simple shell script. When reading the inkscape command line help, it does not seem to offer any option to export optimized SVGs from there
  • Convert pdf to optimized SVG from command line [Help]
    1 project | /r/Inkscape | 12 Mar 2023
    Inkscape uses Scour under the hood for optimized SVG export.
  • Batch convert svg icons into a symbol set?
    1 project | /r/Inkscape | 6 Jun 2022
    First make sure all your icons are saved as 'Optimized SVG' to remove Inkscape specific data and unnecessary id-attributes. Inkscape uses 'Scour' for this under the hood, so you can just use that directly to convert your files from the command line. I recommend the options --strip-xml-prolog --remove-metadata --enable-id-stripping --renderer-workaround. Now you only need to replace the outermost ... with ... for each file and remove all attributes on it, except width, height viewBox and preserveAspectRatio. Since we've stripped the XML-declaration with Scour, simply concatenate all files, wrap the result in a new element and lastly give your symbols unique ids and make sure all remaining referenced ids are unique between symbols.
  • Open Source Favicon Generation & Optimisation in 2022
    3 projects | dev.to | 30 May 2022
    The script optimised the SVG using Scour. This removes some metadata and also shortens IDs as well as strip out comments. For the PNG files we used OptiPNG on the maximum optimisation setting. This can be slow on larger files, but for favicons should not take long. Here’s the before and after comparison of files sizes for a particular favicon, using the script:
  • Where to start?
    1 project | /r/svg | 10 Dec 2021
    I also recommend Inkscape, it also has scour built-in to it. When saving a SVG select the option "optimized SVG" which will give you options to pass to scour to lower the amount of markup there is. You can then do some hand editing after this to further remove any markup you don't want.

optipng-bin

Posts with mentions or reviews of optipng-bin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-02.
  • How I use Devbox in my Elm projects
    15 projects | dev.to | 2 May 2024
    This project uses HTMLMinifier, optipng, and zopfli to create a custom production Elm build pipeline. You can see how I make use of these tools in this build script. Here are the results in case you're interested. I used the same ideas from this project to build and deploy dwayne/elm-conduit, which you can learn more about in my article Yet Another Tour of an Open-Source Elm SPA.
  • PSA: Use ZopfliPNG to compress your PNG assets
    4 projects | /r/gamedev | 2 Mar 2023
    Did you compare to PNG crush and optipng? Those are what I used to use because they're easily installable Linux/brew packages.
  • Problem with node_modules, optipng-bin
    1 project | /r/node | 30 Oct 2022
    It seems that the package was updated around 2019 May to not do that -- https://github.com/imagemin/optipng-bin/commit/6bb7f1c2edab67297c7d72fa0bd604ecc214b9f1 -- published as version 6, so maybe you're using an older one.
  • Open Source Favicon Generation & Optimisation in 2022
    3 projects | dev.to | 30 May 2022
    The script optimised the SVG using Scour. This removes some metadata and also shortens IDs as well as strip out comments. For the PNG files we used OptiPNG on the maximum optimisation setting. This can be slow on larger files, but for favicons should not take long. Here’s the before and after comparison of files sizes for a particular favicon, using the script:

What are some alternatives?

When comparing scour and optipng-bin you can also consider the following projects:

GimelStudio - Non-destructive, node based 2D image editor with an API for custom nodes

zopfli - Zopfli Compression Algorithm is a compression library programmed in C to perform very good, but slow, deflate or zlib compression.

svg.py - 🎨 Type-safe and powerful Python library to generate SVG files

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

gerbolyze - Directly render SVG overlays into Gerber and Excellon files

open-source-favicon-generation - Open source favicon generation: create your favicon from scratch then optimise it for modern and legacy browsers using free apps in 2022.

apysc - apysc is a Python frontend library to create html and js file, that has ActionScript 3 (as3)-like interface.

qoi - The “Quite OK Image Format” for fast, lossless image compression

occult - vpype plug-in to remove occulted lines in SVG files

svg-experiments - ✒️ A gallery of experiments with Scalable Vector Graphics (SVG) and interactive visualizations.

mac-cleanup-py - 👨‍💻 Python cleanup script for macOS