From: [EMAIL PROTECTED] Operating system: Darwin (OS X) PHP version: 4.2.1 PHP Bug Type: GD related Bug description: ImageCreateFromGD2Part reports wrong parameter count
Whenever I use the function ImageCreateFromGD2Part() I get the following message: Warning: Wrong parameter count for imagecreatefromgd2part() in /Users/lake/Sites/scripts/world_map_med.php on line 40 I have noticed that another user has mentioned this bug at: http://www.php.net/manual/en/function.imagecreatefromgd2part.php But I can't find any actual bug reports about this problem (or any other mentions). I have gotten ImageCreateFromGD2() to work just fine, but ImageCreateFromGD2Part() will not work, even if I add or remove random parameters. This is my line of code that isn't working: ImageCreateFromGD2Part( $medimg, $x, $y, 800, 600 ); This code would be more useful for testing: <?php ImageCreateFromGD2Part( "<your GD2 image here>", 1, 1, 10, 10 ); ?> This sounds like it shouldn't be to hard of a problem to fix, but then again I am not a PHP hacker ;). I have a project that I am working on that cannot continue until this is fixed because I am working with chunks of a 700 MB image. Thx much, Seth Price [EMAIL PROTECTED] -- Edit bug report at http://bugs.php.net/?id=17535&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17535&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17535&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17535&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17535&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17535&r=support Expected behavior: http://bugs.php.net/fix.php?id=17535&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17535&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17535&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17535&r=globals