1.0.5 • Published 4 years ago

jimp-plugin-newsprint v1.0.5

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

jimp-plugin-newsprint

install

npm i jimp-plugin-newsprint

usage

import Jimp from 'jimp';
import configure from '@jimp/custom';
import newsprint from "jimp-plugin-newsprint";
configure({ plugins: [newsprint] }, Jimp);

const img = await Jimp.read('some picture')
img.newsprint()

params

newsprint(cellType, cellWidth, angle)

// cellType string "line"(default) | "round" | "diamond"
// cellWidth number 50(default)
// angle number rotation angle in degree  -45(default)
1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago