Bug #17535: ImageCreateFromGD2Part reports wrong parameter count
| From: | sprice at students dot wisc dot edu | Date: | Thu, 30 May 2002 22:37:42 +0000 |
| Subject: | Bug #17535: ImageCreateFromGD2Part reports wrong parameter count | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-8958@lists.php.net to get a copy of this message | ||
From: sprice@students.wisc.edu
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
sprice@students.wisc.edu
--
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