Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #image #height #Jimp #nodejs
ADD COMMENT
Topic
Name
9+6 =