Image Size
A small cross-platform utility that reads the dimensions, type and orientation of an image file or buffer without decoding the full image, supporting common raster and vector formats for upload validation and responsive image sizing.
Image Size on Codeberg image-size/image-size is a free MIT cross-platform image dimensions utility, npm image-size 2.1.0 Node 18+, reads dimensions type and orientation from an image file or buffer without decoding the full image across common raster and vector formats for upload validation and responsive sizing, no sold paid tier (data as of Nov 22, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is Image Size free?
Image Size: image-size is free open-source software released under the MIT License; the image-size package latest 2.1.0 on npm requires Node 18 or above, published Nov 6, 2026. It reads dimensions, type and orientation from an image file or buffer without full decoding, with no paid commercial edition sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is Image Size free?
The code is free to self-host, but a hosted plan from the vendor may not be. Image Size publishes its source, so cost depends on where you run it.
How much does Image Size cost?
image-size is free open-source software released under the MIT License; the image-size package latest 2.1.0 on npm requires Node 18 or above, published Nov 6, 2026. It reads dimensions, type and orientation from an image file or buffer without full decoding, with no paid commercial edition sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check Image Size's current pricing?
On Image Size's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is Image Size?
The library reads only the header bytes of an image to detect format, width, height and orientation, then returns those metadata without rasterizing the whole file; it accepts file paths, buffers or streams and covers PNG, JPEG, GIF, BMP, WebP, SVG and other common formats. This makes it fast for validating uploads and picking responsive breakpoints.
How does pricing work?
The package installs free under its MIT license with no per-call fee; it runs in Node or the browser bundle, and any paid integration support would be arranged outside the open-source project.
How does Image Size compare with other tools in Dev Workflow & Productivity?
Image Size is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| Image Size | Open source | image-size is free open-source software released under the MIT License; the image-size package latest 2.1.0 on npm requires Node 18 or above, published Nov 6, 2026. It reads dimensions, type and orientation from an image file or buffer without full decoding, with no paid commercial edition sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Sharp | Open source | Sharp is free open-source software released under the Apache-2.0 License; the sharp package latest 0.35.5 on npm requires Node 20.9.0 or above, published Sep 27, 2026. It performs fast resize, crop, rotate, composite, format conversion and color operations through a libvips-backed pipeline, with no paid commercial edition sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| File Type | Open source | file-type is free open-source software released under the MIT License; the file-type package latest 22.3.0 on npm requires Node 22 or above, published Oct 29, 2026. It detects real format from binary magic numbers instead of the extension, returning MIME type, extension and media type, with no paid commercial edition sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
Image Size's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: image-size is free open-source software released under the MIT License; the image-size package latest 2.1.0 on npm requires Node 18 or above, published Nov 6, 2026. It reads dimensions, type and orientation from an image file or buffer without full decoding, with no paid commercial edition sold by the project (data as of Nov 22, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Sharp
A high-performance Node.js image processing library backed by libvips, offering resize, crop, rotate, composite, format conversion, color adjustment, metadata and pipeline operations on JPEG, PNG, WebP, AVIF and TIFF images.
File Type
A file type detection library that identifies the real format of a file, stream or buffer from its binary magic numbers rather than the file extension, returning MIME type, extension and media type for common images, audio, video, documents and archives.
Tool Information
- Official Websitecodeberg.org
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
