Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/component/jpeg-size
Ready JPEG dimensions from a Uint8Array or Buffer in node
https://github.com/component/jpeg-size
Last synced: 13 days ago
JSON representation
Ready JPEG dimensions from a Uint8Array or Buffer in node
- Host: GitHub
- URL: https://github.com/component/jpeg-size
- Owner: component
- Created: 2013-04-29T21:54:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-21T17:33:13.000Z (over 11 years ago)
- Last Synced: 2024-05-08T17:10:37.963Z (8 months ago)
- Language: JavaScript
- Size: 62.5 KB
- Stars: 8
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
# jpeg-size
Read JPEG image dimensions from a File or Blob
## Installation
$ component install component/jpeg-size
## Example
```js
var size = require('jpeg-size');
var s = size(buf);
// => { width: 200, height: 400 }
```## License
MIT