|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-07-02 18:46 UTC] aharvey@php.net
-Summary: PHP 5.5.0
+Summary: imagescale() fails
-PHP Version: master-Git-2013-07-01 (Git)
+PHP Version: 5.5.0
[2013-12-31 16:04 UTC] matteosistisette at gmail dot com
[2014-10-15 16:50 UTC] remi@php.net
-Assigned To:
+Assigned To: remi
[2014-10-15 16:50 UTC] remi@php.net
[2014-10-15 16:58 UTC] richard at sublogic dot se
[2014-10-15 17:19 UTC] remi@php.net
[2014-10-15 17:19 UTC] remi@php.net
-Status: Assigned
+Status: Closed
[2014-10-15 17:43 UTC] tyrael@php.net
[2014-10-15 17:43 UTC] tyrael@php.net
[2014-10-16 11:58 UTC] ab@php.net
[2014-11-07 10:16 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 22:00:02 2025 UTC |
Description: ------------ imagescale() function cannot be used. Test script: --------------- <?php $im = imagecreatefrompng('1.png'); $im2 = imagescale($im, 100); imagepng($im2); Expected result: ---------------- Warning: imagescale(): gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully in /mnt/hgfs/F/Test/index.php on line 3 Warning: imagepng() expects parameter 1 to be resource, boolean given in /mnt/hgfs/F/Test/index.php on line 4 Actual result: -------------- ...