# JonasKruckenberg/imagetools

Load and transform images using a toolbox :toolbox: of custom import directives!

Repository: https://github.com/JonasKruckenberg/imagetools
Canonical: https://ross.abutalabs.com/products/imagetools
Language: TypeScript
License: MIT
License Family: permissive
Topics: images, vite-plugin, responsive-images, resize-images, image-transformations, vite
Last push: 2026-08-25T18:53:04+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 2045, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1138, forks 80 (observed 2026-08-28T04:03:43.959207+00:00)

## What it is
Imagetools is a set of import directives for Vite that transform and optimize images at compile time, powered by sharp. It supports resizing, modern format output, srcset generation, and metadata removal.

## Use cases
- optimize images at build time in vite
- generate responsive srcset from a single image
- convert images to modern formats like webp or avif
- resize images via import directives
- strip metadata from images during build

## When to choose
- you use Vite and want compile-time image optimization
- you need responsive images with srcset generation
- you want to output modern image formats without a separate pipeline

## When to avoid
- you don't use Vite or a compatible bundler
- you need runtime image processing
- you need a full image CDN or on-the-fly transformation service

## Facets
- artifact type: plugin
- maturity: active
- function: image-processing, build-tool
- domain: web-development, frontend, image-processing
- platform: -
- tags: vite-plugin, responsive-images, srcset, compile-time, sharp, nodejs, web-server

## Member repositories
- JonasKruckenberg/imagetools (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:43.959207+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-30T06:36:07.209766+00:00, confidence not recorded.
  - readme: https://github.com/JonasKruckenberg/imagetools (fetched 2026-08-28T04:03:43.959207+00:00, sha 8d5456109015)
- Data as of 2026-08-30T08:39:29.467469+00:00.
