sdsykes/fastimage
FastImage finds the size or type of an image given its uri by fetching as little as needed observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 95
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6293
- days_rel: n/a
- days_push: 32
- n_releases_24m: 0
Adoption not part of the score
1380 stars · 118 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
FastImage is a Ruby library that finds the size or type of an image given its URI by fetching only the minimal bytes needed. It supports many formats including GIF, JPEG, PNG, TIFF, BMP, ICO, PSD, SVG, WEBP and JXL without requiring external image libraries.
Use cases
- get dimensions of a remote image without downloading it
- find image type from a url
- add width and height attributes to image tags
- check image size on s3 or asset server
- read exif orientation from jpeg
- get image size from a data uri
When to choose
- you need image dimensions or type from remote or local files in Ruby
- you want to avoid heavy dependencies like ImageMagick
- bandwidth matters and you only need header information
When to avoid
- you need to process, resize, or transform images
- you need deep image metadata beyond size, type, and orientation
- you are not working in Ruby
Facets
library · maturity stable
image-processing http-client parser image-processing web-development files ruby cross-platform image-dimensions image-metadata minimal-fetch remote-images no-native-dependencies
2 sources
- readme: https://github.com/sdsykes/fastimage · fetched 2026-08-28 · 4598c7297bfb
- homepage: http://github.com/sdsykes/fastimage/tree/master · fetched 2026-08-29 · 15f0f8bc5ea9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sdsykes/fastimage | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="sdsykes/fastimage")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem