Re: Patch for Image_Transform_Driver_IM

From: Date: Tue, 22 Oct 2002 18:13:03 +0000
Subject: Re: Patch for Image_Transform_Driver_IM
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10203@lists.php.net to get a copy of this message
At 17:47 22/10/02 +0300, you wrote:
So if no-one opposes I'd like to commit this patch later. There are also couple other small fixes coming in too.
Feel free to do so. I can't remember why I removed the use of identify from the IM driver (there was a reason I switched to getimagesize only) so go ahead and make your changes, as the problem is probably now non-existent (if only I could remember what it was!). There's also this patch that I've had sitting around for ages but haven't got round to applying - perhaps you could do so at the same time? diff -u -r php-pear-Image_Transform-0.2.org/Image_Transform-0.2/Driver/GD.php php-pear-Image_Transform-0.2/Image_Transform-0.2/Driver/GD.php --- php-pear-Image_Transform-0.2.org/Image_Transform-0.2/Driver/GD.php Fri Oct 11 18:07:20 2002
+++ php-pear-Image_Transform-0.2/Image_Transform-0.2/Driver/GD.php      Fri Oct 11 18:08:00 2002
@@ -168,7 +168,7 @@
             if ($color[0]=='#'){
                 $this->colorhex2colorarray( $color_mask );
             } else {
-                include_once('Image/Transform/Driver/ColorDefs.php');
+                include_once('Image/Transform/Driver/ColorsDefs.php');
                 $color = isset($colornames[$color_mask])?$colornames[$color_mask]:false;
             }
         }
(Submitted by Michal Stochmialek <misto@topnet.pl>) Peter -- Maple Design - quality web design and programming http://www.mapledesign.co.uk

« previous php.pear.dev (#10203) next »