ID:               22388
 Comment by:       336764 at 163 dot com
 Reported By:      don at seiler dot us
 Status:           No Feedback
 Bug Type:         GD related
 Operating System: gentoo linux 2.4.20
 PHP Version:      4.3.0
 New Comment:

Me too!


Previous Comments:
------------------------------------------------------------------------

[2003-03-09 19:08:56] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-02-23 21:19:58] [EMAIL PROTECTED]

As a rule you probably should not use imagecreate() when dealing with
potentially truecolor images like pngs. Instead use
imagecreatetruecolor().

P.S. please keep the report status as feedback until you've had the
chance to try the latest CVS.

------------------------------------------------------------------------

[2003-02-23 20:58:56] don at seiler dot us

OK I'll have to make a gentoo ebuild to try that out.

Just an FYI, using imagecreatetruecolor() instead of imagecreate()
fixed this problem.  It seems that php's built-in gd is a little more
strict with png color information.

Gentoo's mod_php ebuild uses the built-in gd for 4.3.x.

------------------------------------------------------------------------

[2003-02-23 20:07:00] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

I've tried your test script with latest CVS and it works fine.
If the problem persists please indicate which GD are you using
(built-in or native) as well as what version of libpng your php/gd are
linked against?

------------------------------------------------------------------------

[2003-02-23 19:10:21] don at seiler dot us

Just noting that it does resize jpeg images just fine.

------------------------------------------------------------------------

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/22388

-- 
Edit this bug report at http://bugs.php.net/?id=22388&edit=1

Reply via email to