Closed mhipo1364 closed 9 years ago
Hey!
The library itself is a wrapper around node-gd, so everything you can find in the node-gd documentation is applicable to easy-gd as well.
Here is the way to get image dimensions:
var image = gd.open('my-image.jpeg') //could also be asynchronous with a callback
image.width
image.height
@furagu : Thanks man, saved my time so much :+1:
Hi
I need to read image dimension for validity. How can I access to image dimension ?
I can't access them using
exif
, so how can I do this?