clroot

clroot / slimg

Public

Image optimization CLI & library — convert, optimize, resize (JPEG, PNG, WebP, AVIF, QOI)

83
2
100% credibility
Found Feb 19, 2026 at 52 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

slimg is a command-line tool for converting, compressing, resizing, cropping, and padding images using efficient modern formats like WebP and AVIF.

How It Works

1
🖼️ Discover slimg

You have lots of big photos taking up space and search for an easy way to shrink them while keeping them pretty.

2
📥 Get slimg

Download the ready-to-run program for your computer from the releases page—no complicated setup needed.

3
📁 Gather your images

Put all your photos into one folder, ready for a quick makeover.

4
Shrink and transform

Tell slimg to make your images smaller, change formats, resize, or crop them all at once, watching the magic happen with a progress bar.

5
📊 Check the savings

See the before-and-after sizes right away—files are much tinier but look just as good.

Images optimized

Your photos are now lightweight, load super fast on websites or apps, and you've freed up tons of space—job done!

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 52 to 83 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is slimg?

Slimg is a fast image optimization CLI and library that handles conversion, compression, resizing, cropping, and padding for JPEG, PNG, WebP, AVIF, and QOI formats. Built in Rust with bindings for Kotlin and Python, it delivers pre-built binaries across macOS, Linux, and Windows, plus batch processing with parallel jobs for directories. Developers get smaller file sizes using modern encoders like MozJPEG and ravif without manual scripting.

Why is it gaining traction?

It stands out with pipeline ops—resize then convert to AVIF in one go—and format detection from bytes or paths, ideal for image optimization for web, SEO, and Next.js/React apps. CLI commands like `slimg convert images/ --format webp --jobs 4` slash GitHub readme PNG sizes or profile images effortlessly, while bindings make it drop-in for image GitHub Actions or runners. Benchmarks show it crushes single-threaded tools on multi-core setups.

Who should use this?

Frontend devs optimizing images in Next.js or React for faster loads, site owners running image optimization checkers before deploy, or WordPress plugin authors needing lossless PNG/WebP swaps. It's for anyone batch-shrinking GitHub markdown images, profile pics, or web assets without online tools—CLI for scripts, libs for apps.

Verdict

Grab it for quick wins on image GitHub size woes or web perf; 38 stars and 1.0% credibility score signal early days, but solid docs, binaries, and tests make it production-ready for non-critical paths. Skip if you need JPEG XL encoding.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.