|
Posted by Christoph Burschka on 06/26/07 07:31
Is there some way to get the dimensions of an image, given the binary
data of the image, without having to write it to a temporary file?
It seems that getimagesize() will only take a filename, but since I have
to download the image from a remote URL with fsockopen(), I have it
stored as a binary string.
I've had a cursory glance at the data, but predictably the size is not
stored in decimal format anywhere...
--
cb
Navigation:
[Reply to this message]
|