# claviska/SimpleImage

A PHP class that makes working with images and GD as simple as possible.

Repository: https://github.com/claviska/SimpleImage
Canonical: https://ross.abutalabs.com/products/simpleimage
Language: PHP
License: MIT
License Family: permissive
Topics: php, image-processing, gd
Last push: 2025-11-20T16:59:34+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 53, release rhythm 25, longevity 100
- inputs: {"age_days": 5405, "days_push": 286, "days_rel": 286, "gap_med": 181.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1388, forks 378 (observed 2026-08-28T04:04:35.268004+00:00)

## What it is
A single-file PHP library that wraps the GD extension with a fluent, chainable API for loading, manipulating, and saving images. It supports common formats including GIF, JPEG, PNG, WEBP, BMP, and AVIF, along with resizing, cropping, filters, drawing, watermarking, and EXIF auto-orientation.

## Use cases
- resize and convert images in php
- generate thumbnails from uploaded images
- add a watermark to photos with php
- auto-orient images based on exif data
- apply filters like sepia or blur to an image
- convert jpeg to webp or avif in php
- draw shapes and text onto an image

## When to choose
- you need simple image manipulation in PHP without heavy dependencies
- you want a chainable, readable API for resize, crop, overlay, and filter operations
- your project already uses GD and you want a friendlier wrapper
- you need to read/write multiple formats including WEBP and AVIF with alpha transparency

## When to avoid
- you need high-performance or asynchronous image processing at large scale
- you require advanced features like color profiles, layers, or vector graphics that GD cannot handle
- your stack is not PHP
- you need GPU-accelerated or machine-learning-based image processing

## Facets
- artifact type: library
- maturity: stable
- function: image-processing
- domain: image-processing, web-development
- platform: php
- tags: gd, fluent-api, image-manipulation, image-conversion, watermarking, thumbnail-generation, exif-orientation, chainable-methods, web-server

## Member repositories
- claviska/SimpleImage (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:35.268004+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:46.467775+00:00, confidence not recorded.
  - readme: https://github.com/claviska/SimpleImage (fetched 2026-08-28T04:04:35.268004+00:00, sha 3023488b8c18)
- Data as of 2026-08-30T08:39:29.467469+00:00.
