Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.5

Bug #6770 Invalid filename ''
Submitted: 2006-02-13 15:59 UTC
From: linuxrocks at gmail dot com Assigned:
Status: No Feedback Package: Image_Transform (version 0.9.0)
PHP Version: 4.4.0 OS: Windows
Roadmaps: (Not assigned)    
Subscription  


 [2006-02-13 15:59 UTC] linuxrocks at gmail dot com
Description: ------------ Using the GD Driver on WinXP, PHP 4.4, GD gives the following error when display() is called: Warning: imagepng(): Invalid filename '' in E:\htdocs\libs\pear\Image\Transform\Driver\GD.php on line 464 If the second argument from line 464 is removed so: $result = $functionName($this->imageHandle, $filename); becomes: $result = $functionName($this->imageHandle); The error will disappear and the script will function as expected. However, I suspect that this patch may break saving. Test script: --------------- <?php require_once ("Image/Transform.php"); $b =& Image_Transform::factory('gd'); $b->load ("logo.png"); $b->display(); ?> Expected result: ---------------- Image displays. Actual result: -------------- Warning: imagepng(): Invalid filename ''

Comments

 [2006-02-16 03:03 UTC] rhutchison at quadspeedi dot net
This is also the case on freebsd
 [2006-03-01 17:29 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!