ID:               39286
 Updated by:       [EMAIL PROTECTED]
 Reported By:      seth at pricepages dot org
-Status:           Assigned
+Status:           Closed
 Bug Type:         GD related
 Operating System: Mac 10.4
 PHP Version:      5CVS-2006-10-27 (snap)
 Assigned To:      pajoye
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2006-10-27 20:11:17] seth at pricepages dot org

Description:
------------
This script results in the error message:
'http://leopold.sage.wisc.edu/world.vis.675.gd2' is not a 
valid GD2 file

But it *is* valid. The problem is that the parameter passed 
has zero width, but the error message is misleading.

Reproduce code:
---------------
<?php
$img =
imagecreatefromgd2part('http://leopold.sage.wisc.edu/world.vis.675.gd2',
0, 100,0, 100);

/* This works fine:
$img =
imagecreatefromgd2part('http://leopold.sage.wisc.edu/world.vis.675.gd2',
0, 100,100, 100);
*/

header('Content-Type: image/png');
imagepng($img);
?>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39286&edit=1

Reply via email to