# dims v0.1.0 - Table of Contents

> Probe remote image dimensions (width × height) from just a URL — fetches only the first bytes via HTTP Range and parses JPEG/PNG/WebP/GIF headers. Batch probing with parallelism, median backfill for failed probes, sampling for huge lists, and built-in caching.

## Pages

- [Dims](readme.md)
- [Changelog](changelog.md)
- [LICENSE](license.md)

## Modules

- [Dims](Dims.md): Probe remote image dimensions (width × height) from just a URL.
- [Dims.Cache](Dims.Cache.md): Tiny ETS-backed TTL cache for probe results, started by the `:dims`
application. Dimensions never change for a URL, so entries default
to a 30-day TTL (set per call via `:cache_ttl`, or bypass with
`cache: false`).
- [Dims.Parser](Dims.Parser.md): Parses image dimensions out of raw leading bytes. Pure functions —
no I/O — so they're directly testable and usable on bytes you
already have (an upload's first chunk, a cached header, …).

