Add API to return image size without loading the image
My application only need to get the width and size of the resulting image for any ImageResizer URL.
The purpose is to set the width/size attribute of an <img> tag when rendering a MVC view. In that case, no need for the extra processing cost of loading the image.
Release 3.4.0 includes this functionality via ImageJob. A more efficient implementation may arrive in 4.0, but the feature is now present.
-
Release 3.4.0 includes this functionality via ImageJob. A more efficient implementation may arrive in 4.0, but the feature is now present.
-
Anonymous commented
Should be good also to have the final size AFTER resizing the image. Could not find this information actually
-
Mario Fortier commented
I meant width/height , not width/size.