Skip to content
Search

Probe-image-size

lastmod 2021-03-24created 2021-03-241 edits

Get image size without full download. Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, PSD, ICO.

Find out an image's size without downloading the whole file

Features

  • A JS module that finds the size and other info of a large image without downloading all of it
  • Supports JPG, GIF, PNG, WebP, BMP, TIFF, SVG, PSD, ICO
  • Remote/local support: accepts URL/Stream/Buffer
  • browserify support
  • Promise Return : width, height, length, type, mime, wUnits, hUnits, orientation, variants (extra info for ICO, AVIF, etc.)

See also

Favorite site

author Zer0 sitemap