ID: 19700 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: GD related Operating System: Darwin v6 (Mac Server v10.2) PHP Version: 4.2.3, 4.3.0-dev New Comment:
Tried it, still doesn't work. I wish you guys would make the libpng version show up in phpinfo() so I could be sure I compiled everything right. If everything worked as advertised, I compiled libpng v1.2.5rc3. I configured with "--with-gd=/usr/local" and "--with-gd=php" Previous Comments: ------------------------------------------------------------------------ [2002-10-05 01:48:28] [EMAIL PROTECTED] Can you try installing libpng v1.2.5 and then trying your code. There seems to be a good change that there is a bug in linpng that shows up on Mac OS systems. Maybe version 1.2.5 has this 'bug' fixed. ------------------------------------------------------------------------ [2002-10-02 16:31:37] [EMAIL PROTECTED] I just noticed that if I downgrade libpng to v1.0.14 even ImageCopyResized() breaks in a similar fashion. ------------------------------------------------------------------------ [2002-10-02 11:02:17] [EMAIL PROTECTED] I am getting lines in the apache error log file now (i wasn't in PHP v4.2.3) It seems to be stuck in some sort of loop: [Wed Oct 2 10:52:36 2002] [notice] child pid 24976 exit signal Segmentation fault (11) [Wed Oct 2 10:52:38 2002] [notice] child pid 25017 exit signal Segmentation fault (11) ------------------------------------------------------------------------ [2002-10-02 10:34:42] [EMAIL PROTECTED] correct version numbers.. ------------------------------------------------------------------------ [2002-10-02 09:36:05] [EMAIL PROTECTED] Welll... I did get compile warnings up the wazoo... but it worked, which is rather amazing. I don't *know* if GD supports this, but it seems like a reasonable thing for it to do. It works in other functions. I need some way to convert a true color image to palette. imagetruecolortopalette() doesn't work (see bug #19704) imagecopy() doesn't work (this bug) imagecopyresized() works (but is very slow, 3 secs on a fast server with plenty of ram) I tried --with-gd=php and it seemed to run faster with imagecopyresized(), but still the same error with imagecopy(). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19700 -- Edit this bug report at http://bugs.php.net/?id=19700&edit=1