@imageproc/core
TypeScript icon, indicating that this package has built-in type declarations

0.0.15 • Public • Published

@imageproc/core

Image processing core module

Usage

npm install @imageproc/core
import * as imageproc from "@imageproc/core";

(async () => {
    const proc = new imageproc.ImageProcessorSharp();
    const sourceBuf = fs.readFileSync("image.png");
    const buf = await proc.resizeAspectFit(sourceBuf, {
        ...
    });
    fs.writeFileSync("generated.png", buf);
})();

ImageProcessor usage

see: ImageProcessor.ts

ImageProcessor implementation

Readme

Keywords

none

Package Sidebar

Install

npm i @imageproc/core

Weekly Downloads

1

Version

0.0.15

License

MIT

Unpacked Size

33.1 kB

Total Files

12

Last publish

Collaborators

  • ar-watanabe
  • argano
  • nabeix