|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17444 image* or imageCreateFrom* has size limitation in certain cases
Submitted: 2002-05-26 23:55 UTC Modified: 2002-06-28 18:26 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: scott at scottdial dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4.1.2 OS: WinXP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
7 + 12 = ?
Subscribe to this entry?

 [2002-05-26 23:55 UTC] scott at scottdial dot com
   $im = imageCreateFromPNG("large.png");

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-28 05:10 UTC]
Please try newer version of PHP. Also, provide a URL to one image that this happens with.

 [2002-06-28 17:27 UTC] scott at scottdial dot com
I have upgraded to the most current versions of everything and it appears that the error has been resolved.
 [2002-06-28 18:26 UTC]
Cool, let's close it then.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Aug 16 13:05:43 2022 UTC