Get Image Info From Binary Data
I have encountered a problem where my co-worker stored an image into database as binary data. For example, it contains value of “iVBORw0KGgoAAAANSUhEUgAAASwAAAD6…..” in the database. Now I want to get the width and height information about the image. What I normally do is to use getimagesize function. However, the …