bug in Cache/Graphics.php
| From: | Andreas Kossmeier | Date: | Sun, 23 Sep 2001 07:17:18 +0000 |
| Subject: | bug in Cache/Graphics.php | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-1988@lists.php.net to get a copy of this message | ||
hi,
line 238 (and 293) in Cache/Graphics.php
: // generate the image
: $func = 'Image' . strtoupper($format);
: $func($img);
: ImageDestroy($img);
since the used formats and the imagetypes are ('gif', 'jpg', ...), a
generation of a JPEG image does not work, because the appropriate PHP
function is called ImageJPEG() and _not_ ImageJPG().
greetings,
andreas
--
andreas kossmeier
bergfex.at - http://www.bergfex.at