Related issue #1757246: Option to not validate whether files are images or not, and use something faster than getimagesize() if possible.
Rather than re-invent the wheel for sites on multiple servers, there's a caching solution for getimagesize() that's already been built for imagecache.
Comments
Comment #1
thedavidmeister commentedI had a look through imageinfo_cache and couldn't see anything that would be useful as an external api style function... everything remotely like an imageinfo_cache_get_cached_image_info() was really tightly coupled into what that module was doing with it's theme functions and the node system.
I've had to re-implement a lot of what that module achieved unfortunately, I think the only "integration" that will happen will just be making sure that enabling both that module and ICD doesn't break things.