Bug #17444: image* or imageCreateFrom* has size limitation in certain cases
| From: | scott at scottdial dot com | Date: | Mon, 27 May 2002 03:55:33 +0000 |
| Subject: | Bug #17444: image* or imageCreateFrom* has size limitation in certain cases | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-8638@lists.php.net to get a copy of this message | ||
From: scott@scottdial.com
Operating system: WinXP
PHP version: 4.1.2
PHP Bug Type: GD related
Bug description: image* or imageCreateFrom* has size limitation in certain cases
<?
$im = imageCreateFromPNG("large.png");
imagePNG($im);
?>
Once large.png is above a certain size, the image is not loaded past a
certain offset.
From what I have seen though, if you pipe it out to a file imagePNG($im,
"out.png"), then it is a complete file.
I haven't expiremented with it enough to figure out which has the
limitation. It would seem that image* does, but you can imageCreate(x,y)
the same size image and the image does not get truncated on output to
stdout.
--
Edit bug report at http://bugs.php.net/?id=17444&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17444&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17444&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17444&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17444&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17444&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17444&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17444&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17444&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17444&r=globals