getimagesize() for image resources
| From: | Greg Donald | Date: | Mon, 13 Dec 2004 22:13:26 +0000 |
| Subject: | getimagesize() for image resources | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-204235@lists.php.net to get a copy of this message | ||
Does anyone know a way to get the size of an an image while it exists
as an image resource? getimagesize() appears to work on image files,
but not image resources. I need something that works on image
resources like those created with the PHP imagecreatefrom* functions.
I realize I can write the file to disk, then acquire the info.. that's
the step I'm trying to avoid if possible.
TIA..
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/