|
|
hace 10 meses | |
|---|---|---|
| .. | ||
| dist | hace 10 meses | |
| es | hace 10 meses | |
| node_modules | hace 10 meses | |
| src | hace 10 meses | |
| test | hace 10 meses | |
| CHANGELOG.md | hace 10 meses | |
| LICENSE | hace 10 meses | |
| README.md | hace 10 meses | |
| index.d.ts | hace 10 meses | |
| package.json | hace 10 meses | |
Rotates the image clockwise by a number of degrees. By default the width and height of the image will be resized appropriately.
import jimp from 'jimp';
async function main() {
const image = await jimp.read('test/image.png');
image.rotate(90);
}
main();