Re: getimagesize() for image resources
| From: | M. Sokolewicz | Date: | Mon, 13 Dec 2004 22:17:22 +0000 |
| Subject: | Re: getimagesize() for image resources | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204238@lists.php.net to get a copy of this message | ||
Greg Donald wrote:
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.. imagesx() and imagesy()