1.1.10 • Published 2 years ago
image-m v1.1.10
image-m
Installation
yarn add image-mRequirements
- ImageMagick 6.9.12
- C++14
- CMake >= 3.7
Usage
import { Geometry, Image } from "image-m";
const img = new Image();
img.read("image.png");
img.resize(new Geometry(100, 100, 0, 0));
img.write("new-image.png");import { Image } from "image-m";
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 "image-m";
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.1
2 years ago
1.1.0
2 years ago
0.1.13
2 years ago
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.10
2 years ago
1.0.1
4 years ago
0.1.10
4 years ago
1.0.0
4 years ago
0.1.11
4 years ago
0.1.12
4 years ago
0.1.14
4 years ago
0.1.2
4 years ago
0.1.8
4 years ago
0.1.9
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.0
4 years ago
0.1.1
4 years ago
0.0.19
4 years ago
0.0.10
5 years ago
0.0.11
5 years ago
0.0.12
5 years ago
0.0.13
5 years ago
0.0.14
5 years ago
0.0.15
5 years ago
0.0.9
5 years ago
0.0.16
5 years ago
0.0.8
5 years ago
0.0.17
5 years ago
0.0.18
5 years ago
0.0.5
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago