readim
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

readim

Universal Image File Reader

install

npm install readim

usage in the browser / frontend

import readim from 'readim';

readim(arrayBuffer);
{ height: 200, width: 100, data: Uint8ClampedArray [ 112, 221, 31, 255, ... ] }

usage in NodeJS / backend

const readim = require("readim");

readim(buffer);
{ height: 200, width: 100, data: Uint8ClampedArray [ 112, 221, 31, 255, ... ] }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1
  • 0.0.2
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i readim

Weekly Downloads

2

Version

1.0.0

License

CC0-1.0

Unpacked Size

317 kB

Total Files

9

Last publish

Collaborators

  • danieljdufour