Re: bug in Cache/Graphics.php
| From: | Martin Jansen | Date: | Sun, 23 Sep 2001 12:30:04 +0000 |
| Subject: | Re: bug in Cache/Graphics.php | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1990@lists.php.net to get a copy of this message | ||
On Sun, 23 Sep 2001 09:17:18 +0200, Andreas Kossmeier wrote:
>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().
I commited a patch to CVS which should hopefully fix this bug. Please
have a look at the latest version and tell us if it works for you.
- Martin