php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24423 imagecolortransparent is not working on png images
Submitted: 2003-06-30 15:12 UTC Modified: 2003-06-30 15:42 UTC
From: mailing at auktionmaster dot de Assigned: pajoye (profile)
Status: Closed Package: GD related
PHP Version: 4.3.3RC1 OS: RedHat 7.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mailing at auktionmaster dot de
New email:
PHP Version: OS:

 

 [2003-06-30 15:12 UTC] mailing at auktionmaster dot de
Description:
------------
Function "imagecolortransparent" is not working on png images in Version 4.3.3 RC1. The posted code was working fine in PHP 4.2.3

Reproduce code:
---------------
...
       $pic = imagecreate( $this->width, $this->height );
       $trans = imagecolorallocate( $pic, 255, 255, 255 );
       $trans = imagecolortransparent( $pic, $trans );
...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-30 15:42 UTC] pajoye@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

Hello,

imagecolortransparent works perfectly with RC2 and the latest 4.3 branch using the bundled GD. Upgrade PHP and use the bundled GD in preference to the external one, using '--with-gd'.

thank's for your report,

pierrre
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 14:01:31 2024 UTC