Images

Optimizt – optimize images for the web

Optimizt is a command-line image optimisation tool aimed at preparing graphics for websites and other frontend projects. It brings several established image-processing utilities behind one interface so developers do not need separate commands for each image format.

The program handles PNG, JPEG, GIF and SVG files and can also generate AVIF and WebP versions of raster images. It supports its default lossy workflow as well as an alternative processing mode intended to favour image quality, with behaviour tailored to the format being processed.

Optimizt can work on individual files, groups of files or directory trees, and its processing rules can be changed through a project configuration file.

This is free and open source software.

Key Features

  • Optimises PNG, JPEG, GIF and SVG images from a single command-line interface.
  • Can create AVIF and WebP alternatives for raster images.
  • Uses sharp for PNG, JPEG, AVIF and WebP processing.
  • Uses SVGO to optimise SVG markup and gifsicle for GIF compression.
  • Offers separate lossy and lossless-labelled processing modes.
  • Can recursively process directories as well as explicit image files.
  • Supports writing optimised images to a separate output directory while preserving the source directory structure.
  • Can add custom prefixes and suffixes to generated filenames.
  • Provides a force option for regenerating AVIF and WebP files that already exist.
  • Uses a configurable CJS file containing per-format compression and conversion settings.
  • Searches parent directories for project configuration, allowing settings to live with the source tree.
  • Lets individual configuration parameters be disabled when a particular optimisation is undesirable.
  • Uses Guetzli for JPEG processing in its lossless-labelled mode; upstream cautions that repeated optimisation can still degrade visual quality.
  • Provides verbose output for inspecting skipped files and other processing details.
  • Can be integrated with editors and automated development workflows.
  • Is distributed as a command-line package rather than a general-purpose JavaScript API.

Website: github.com/343dev/optimizt
Support:
Developer: Andrey Warkentin
License: MIT License

optimizt

optimizt is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.


Related Software

Console Based Image Compression Tools
MozJPEGMozilla JPEG Encoder Project
pngquantUtility and a library for lossy compression of PNG images
SVGONode.js library and command-line application for optimizing SVG files
OxipngMultithreaded PNG optimizer, forked from Optipng
libjxlReference implementation of JPEG XL
libjpeg-turboJPEG image codec
QOIThe Quite OK Image Format
YOGAYummy Optimizer for Gorgeous Assets
pngcrushOptimizer for PNG files
jpegoptimOptimize JPEG files. Lossless and lossy compression available
OptiPNGAdvanced PNG optimizer
ECTFast and effective C++ file optimizer
CrunchLossy PNG image file optimization
zopflipngPNG optimisation tool using zopfli
JPEG ArchiveUtilities for archive JPEGs for long term storage
cavifConvert PNG and JPEG images to space-saving AVIF format
optimiztCLI image optimization tool
FlacaLosslessly compress GIF, JPEG and PNG images from the terminal
picoptMulti format lossless image optimize
tinifierCLI tool for compressing images using the TinyPNG API

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted