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

0.0.14 • 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

0

Version

0.0.14

License

MIT

Unpacked Size

67.6 kB

Total Files

16

Last publish

Collaborators

  • argano
  • nabeix