Image-size
image-size
get dimensions of any image file
image-size
maybe call it image-dimensions
? Anyway it's a sweet module that does one thing and does it right!
Supported image types:
- BMP
- GIF
- JPEG
- PNG
- PSD
- TIFF
- WebP
- SVG
Sample usage:
1
|
|
Sync:
1 2 3 |
|
Async:
1 2 3 4 |
|
GIF FTW!