gruntjs/grunt-contrib-imagemin

Minify PNG, JPG, GIF and SVG images.

Hosted by OpenJS Foundation · part of Linux Foundation

View on GitHub ↗Jump to charts ↓

gruntjs/grunt-contrib-imagemin has 1k+ stars and 150+ forks on GitHub, is written in JavaScript, and was last pushed on Jul 2, 2024. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 29 minutes ago
Type:Plugin / ExtensionCategory(s):Build Systems & Package ManagersDeveloper Tools
Added to GitGenius on October 15th, 2026
Created on October 29th, 2012
Open Issues & Pull Requests: 8 (+0)
GitHub issues: Enabled
Number of forks: 176
Total Stargazers: 1,204 (+0)
Total Subscribers: 34 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.
Sign in

Related repositories by overlapping contributors

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 2
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 472 days
Stale 30+ days: 2
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

grunt-contrib-imagemin is a Grunt task that minifies PNG, JPG, GIF, and SVG images.

The tool solves the problem of reducing image file sizes in build pipelines by wrapping the imagemin library and applying lossless compression. It works by running images through bundled optimizers—gifsicle for GIFs, jpegtran for JPEGs, optipng for PNGs, and svgo for SVGs—each with configurable parameters. Users can control PNG optimization intensity across eight levels, enable progressive JPEG conversion, interlace GIFs for progressive rendering, and customize SVG optimization plugins. The tool processes multiple images in parallel, with concurrency limited by available CPU cores by default.

This tool suits projects already using Grunt as their build system. It is appropriate for teams wanting straightforward, lossless image compression without switching build tools. The bundled optimizers cover common image formats and require no additional plugin installation for typical workflows, though the use option allows substituting or adding alternative imagemin plugins if needed.

Development activity shows consistent maintenance with passing builds on both Linux and Windows platforms. The project remains actively supported within the Grunt ecosystem and accepts community contributions.