Created
April 24, 2017 01:02
-
-
Save giisyu/15899420436684018109f80b541b9c24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install --save jimp | |
node | |
var Jimp = require("jimp"); | |
Jimp.read("画像パス" , (err,lenna)=>{if(err)throw err;lenna.crop(0,0,32,48).quality(100).write("出力パス");}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment