Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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