imagesize
Quick probing of image dimensions without loading the entire file.
0.15.0
28M downloads/mo
#1743 most downloaded on crates.io
Roughsketch/imagesize
What this package is like to depend on
Last release 1 months ago
09 Jul 2026
Release timing varies
gaps range from 8 days to 1.3 years
Rarely documented
notes for 6 of 34 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
34 releases · first in 2017
1 release in the last 12 months
see the full history below
Release timeline
34 releases · May 2017 to Jul 2026Releases
latest 34-
0.15.009 Jul 2026Release notes
Open source →What's Changed
- Fix size reader for ktx2 and the test case, original code always retu… by @AllenDang in #46
- Support astc/eac/etc2/pvrtc formats by @AllenDang in #47
- Continue processing AVIF size after hitting mdat tag by @Roughsketch in #50
Full Changelog: v0.14.0...v0.15.0
-
0.14.006 Apr 2025Release notes
Open source →What's Changed
- Add features flags for each image format by @ShadowMitia in #41
- Use u32 and u16 from_xx_bytes by @jayvdb in #42
- More type functions by @lublak in #45
- Add BigTiff support by @jayvdb in #43
New Contributors
- @ShadowMitia made their first contribution in #41
- @jayvdb made their first contribution in #42
- @lublak made their first contribution in #45
Full Changelog: v0.13.0...v0.14.0
-
0.13.018 Jun 2024Release notes
Open source →What's Changed
- List Avif format in README.md by @seanaye in #33
- Add support for ILBM by @KateMorley in #36
- Distinguish between HEIF and HEIC by @rsuu in #34
- Mark ImageType as non-exhaustive by @Roughsketch in #40
New Contributors
- @seanaye made their first contribution in #33
- @KateMorley made their first contribution in #36
Also thanks to @virtualritz for initially introducing some formatting changes and bumping the edition.
Full Changelog: v0.12.0...v0.13.0
-
0.12.011 May 2023Release notes
Open source →Auto change log does not fully track everything since not everything went through PRs. I'll likely be more consistent with this in the future.
Overall changes:
New Formats
- AVIF
- DDS
- EXR
- Farbfeld
- HDR
- KTX2
- PNM
- QOI
- TGA
- VTF
Fixes
- Fixed HEIF format returning an error when attribute field size was exactly 8
- Fixed TIFF having stray debug asserts that may cause panics in debug builds
Other changes
- Restructured code base to split out formats into their own individual source files
- Reordered
ImageTypeenum so that types will now be in alphabetical order - Added benchmarking via criterion to dev dependencies
- Modified how tests check for values
- Modified README so have examples that actually compile
- Added doc comment about minimum data size required for methods to work (12 bytes)
What's Changed
- Add EXR/HDR/TGA/DDS/KTX2/QOI support by @AllenDang in #25
- Handle EXR long names flag by @Roughsketch in #27
- Handle HDR files orientations by @Roughsketch in #26
- Add support for VTF by @Roughsketch in #28
- Add support for PNM by @Roughsketch in #29
New Contributors
- @AllenDang made their first contribution in #25
Full Changelog: v0.11.0...v0.12.0
-
0.11.006 Jan 2023Release notes
Open source →What's Changed
- Update tests so they aren't packaged with crate by @Roughsketch in #22
- Support aseprite by @rsuu in #20
New Contributors
Full Changelog: v0.10.1...v0.11.0
-
0.10.124 Sep 2022 -
0.10.015 Jul 2022Nothing published for this version
-
0.9.004 Jul 2021Nothing published for this version
-
0.8.818 Aug 2020Nothing published for this version
-
0.8.710 Aug 2020Nothing published for this version
-
0.8.610 Aug 2020Nothing published for this version
-
0.8.509 Aug 2020Nothing published for this version
-
0.8.430 Jul 2020Nothing published for this version
-
0.8.312 Jul 2020Nothing published for this version
-
0.8.211 Jul 2020Nothing published for this version
-
0.8.115 Mar 2020Nothing published for this version
-
0.8.030 Mar 2019Nothing published for this version
-
0.7.127 Feb 2019Nothing published for this version
-
0.7.027 Feb 2019Nothing published for this version
-
0.6.016 Nov 2018Nothing published for this version
-
0.5.215 Aug 2018Nothing published for this version
-
0.5.118 Feb 2018Nothing published for this version
-
0.5.025 Sep 2017Nothing published for this version
-
0.4.024 Sep 2017Nothing published for this version
-
0.3.517 May 2017Nothing published for this version
-
0.3.417 May 2017Nothing published for this version
-
0.3.314 May 2017Nothing published for this version
-
0.3.214 May 2017Nothing published for this version
-
0.3.105 May 2017Nothing published for this version
-
0.3.004 May 2017Nothing published for this version
-
0.2.002 May 2017Nothing published for this version
-
0.1.201 May 2017Nothing published for this version
-
0.1.101 May 2017Nothing published for this version
-
0.1.001 May 2017Nothing published for this version