qmetrics.net

Image Optimizer

PHP library chaining CLI tools to shrink image files

Photo & Video EditorsDesktop/CLI app
Image Optimizer screenshot

Spatie Image Optimizer runs PNG, JPEG, WEBP, AVIF, SVG, and GIF files through installed command-line optimizers. It picks available binaries on the system and can overwrite files or write to a new path.

Overview

Image Optimizer is a PHP package for losslessly or lossily compressing common web image formats by delegating work to external optimization programs. A default optimizer chain inspects the image type and invokes tools such as JpegOptim, Pngquant, Optipng, SVGO, Gifsicle, Cwebp, and avifenc when they are present on the host.

The main API optimizes a file in place or writes results to a separate output path. Callers can set per-optimizer timeouts, customize which tools run and with which flags, plug in custom optimizers, or use self-handling optimizers that call remote APIs instead of local binaries.

Integration notes mention companion packages for Laravel image manipulation, media libraries, and webpage-to-image tools, where an optimize step can be added to existing pipelines. The design goal stated in project materials is to hide shell orchestration and sensible default flags behind a small PHP interface.

Because quality depends on installed binaries, documentation includes OS package manager recipes for Ubuntu, Debian, macOS Homebrew, and Fedora-family systems. Failures in one optimizer can be logged and skipped or surfaced via optional exception behavior.

Key features

  • Multi-format image optimization
  • Automatic optimizer chain selection
  • In-place or separate output path
  • Configurable optimizer timeouts
  • Custom optimizer and chain support
  • Self-handling API optimizers
  • PSR-3 optimization logging
  • Laravel and WordPress integrations noted

Use cases

  • Shrinking assets in PHP web apps
  • Batch optimization in deploy scripts
  • Media library thumbnail pipelines
  • Automated post-processing after uploads

Tags

Similar software

Stable Diffusion Webui

Gradio web interface for Stable Diffusion

AUTOMATIC1111’s web UI wraps Stable Diffusion with txt2img, img2img, inpainting, upscalers, training tabs, and a settings-driven Gradio front end. Install scripts target NVIDIA and AMD GPUs plus Apple Silicon.

★ 165.4k⟳ 2 years agoAGPL-3.0
AI Interaction & InterfacesNo commits in 18+ monthsSelf-hostable

MoneyPrinterTurbo

AI workflow toolkit for automated short-form video

MoneyPrinterTurbo turns a topic or keyword into an HD short video using AI for script, footage, voice, subtitles, and music.

★ 146k⟳ yesterdayMIT
Photo & Video EditorsDesktop/CLI app

OpenCut

Open source browser video editor

OpenCut is a free, open source video editor for web, desktop, and mobile. The live site runs a classic browser build while a rewrite adds plugins, automation, and a shared Rust core.

★ 99.5k⟳ 2 months agoMIT
Photo & Video EditorsDesktop/CLI app
Open Source Alternative to:CapCutInVideo

Deep Live Cam

Real-time face swap for webcam and video

Deep Live Cam swaps faces on webcam feeds and in videos using one reference image. It runs as a local Python application on Windows, macOS, and Linux with optional GPU backends.

★ 99k⟳ 20 days agoAGPL-3.0
Photo & Video EditorsDesktop/CLI app

HyperFrames

Open-source HTML-to-MP4 video editor for people and agents

HyperFrames turns HTML, CSS, JavaScript, and media into MP4 videos. Use the Studio desktop app, a CLI, or coding agents with bundled skills to create and edit frame-accurate projects.

★ 91.4k⟳ todayApache-2.0
Frameworks & PlatformsDesktop/CLI app
Open Source Alternative to:InVideo

OpenMontage

Agent-driven video production for coding assistants

OpenMontage turns an AI coding assistant into a local video studio with pipelines for scripting, assets, editing, and render, including image-based and real-footage workflows.

★ 83.8k⟳ 12 days agoAGPL-3.0
AI Assisted CodingDesktop/CLI app