FindSoftware

image_optim

Ruby command line tool and library that optimizes JPEG, PNG, GIF and SVG images by running external compression utilities.

image_optim is a Ruby command line tool and library for optimizing JPEG, PNG, GIF and SVG images. It does the work through external utilities such as optipng, pngquant, jpegoptim, oxipng and svgo, so the gem drives those programs rather than compressing images itself. It runs from the shell, as image_optim with file names or a directory, or from Ruby code, on a developer’s machine or in CI.

The gem installs with gem install image_optim or a Gemfile entry. The README says it is based on ImageOptim.app, the macOS application, which the gem does not extend.

Worth knowing

The utilities are separate installs that the gem does not carry. A container or CI job that runs the tool needs them present in addition to the gem.

Identity

Status
Active
Maintainer
Ivan Kuchin3
Maintained by
Individual
First release
20126

Rendering and deploy

Runs as
Dev only2
Install with
gem install2

Releases

Current major version
Pre-1.05
Last release
2026-05-275

Adoption

GitHub stars
1,5481
Contributors
327
Dependent repositories
1,6328
Dependent packages
438

Why these figures do not compare

Sources

  1. 2026-10-28: links, Written in, GitHub stars
    api.github.com/repos/toy/image_optim
  2. 2026-10-28: links, Categories, Runs as, Install with
    github.com/toy/image_optim/blob/v0.32.0/README.markdown
  3. 2026-10-28: Maintainer, License model
    github.com/toy/image_optim/blob/v0.32.0/LICENSE.txt
  4. 2026-10-28: Runtime, Minimum runtime, License
    github.com/toy/image_optim/blob/v0.32.0/image_optim.gemspec
  5. 2026-10-28: License, Current major version, Last release
    rubygems.org/api/v1/gems/image_optim.json
  6. 2026-10-28: First release
    rubygems.org/api/v1/versions/image_optim.json
  7. 2026-10-28: Contributors
    api.github.com/repos/toy/image_optim/contributors
  8. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/image_optim

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON