parse-image-dimensions
v1.0.0
Published
get image dimensions by parsing its filename
Downloads
20
Readme
parse-image-dimensions
Extract image dimensions by parsing its filename.
- name
- width
- height
- scale
Supported filename format
-<width>
- image-100.png-<width>x
- image-100x.png-<width>x<height>
- image-100x200.png-x<height>
- image-x200.png-<width>x<height>@<scale>x
- [email protected]@<scale>x
- [email protected]
License
MIT