Answers for "get image height Jimp nodejs"

0

get image height Jimp nodejs

var Jimp = require('jimp');
var image = new Jimp("./path/to/image.jpg", function (err, image) {
    var w = image.bitmap.width; //  width of the image
    var h = image.bitmap.height; // height of the image
});
Posted by: Guest on January-04-2022

Code answers related to "get image height Jimp nodejs"

Code answers related to "Javascript"

Browse Popular Code Answers by Language