1.1.22 • Published 2 years ago

@native-bindings/imagemagick6 v1.1.22

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@native-bindings/imagemagick6

Installation

npm i @native-bindings/imagemagick6

Requirements

  • C++14
  • CMake >= 3.7
  • libraw
  • graphviz

Usage

import { Geometry, Image } from "@native-bindings/imagemagick6";

const img = new Image();
img.read("image.png");
img.resize(new Geometry(100, 100, 0, 0));
img.write("new-image.png");
import { Image } from "@native-bindings/imagemagick6";

const img1 = new Image();
img1.read("image.png");

const img2 = new Image();
img2.read("image.png");
img2.motionBlur(20, 3, 40);

console.log(img2.compare(img1));
import { Image, Color, Geometry } from "@native-bindings/imagemagick6";

const img = new Image();
img.density(new Point(256, 256));
img.backgroundColor(new Color(0, 0, 0, 0));
img.read(path.resolve(__dirname, "icon.svg"));
img.resize(new Geometry(256, 256, 0, 0));
img.write(__dirname + "/icon.png");
1.1.18

2 years ago

1.1.17

2 years ago

1.1.12

2 years ago

1.1.22

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago