Is there an easy way to get the dimensions of an image (width/height) without opening and reading the whole image? Perhaps using wand?
Reading a Jpeg2000 image can be expensive when all I need is the image width and height to allocate memory.....
Thanks!
-brian
Image dimensions?
Re: Image dimensions?
Use ping() instead of read(). Ping just reads enough of an image to get its width / height / size / format.