note 32402 added to function.imagecopyresized

From: Date: Tue, 27 May 2003 02:17:02 +0000
Subject: note 32402 added to function.imagecopyresized
Groups: php.notes 
Request: Send a blank email to php-notes+get-49056@lists.php.net to get a copy of this message
Regarding imagecopyresizedbicubic above... After installing php4.3.2 with native gd2 support (and removing GDLS_FETCH() from the function), this function segfaults when calling gdImageColorClosest() (or even gdImageColorResolve()). I wrote a simple C test program emulating it, which would also segfault if I didn't define im_dst early on with something like: im_dst = gdImageCreate( x, y ); after which everything worked OK. Still, regardless of what I did in ext/gd/gd.c for imagecopyresizedbicubic, I still get a segfault... ---- Manual Page -- http://www.php.net/manual/en/function.imagecopyresized.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32402 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32402&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32402&report=yes

« previous php.notes (#49056) next »