#21624 [Bgs]: no transparent Colors in PNG's with Opera 6/7

2003-01-14 Thread Jones
 ID:   21624
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Bogus
 Bug Type: GD related
 Operating System: RedHat
 PHP Version:  4.3.0
 New Comment:

No I don't think it's an error of Opera.

Look at the examples from the png homepage:
http://www.libpng.org/pub/png/png-sitemap.html#images
e.g.:
http://www.libpng.org/pub/png/png-IceAlpha.html
http://www.libpng.org/pub/png/png-MagnoliaAlpha.html
(this pics use alpha transparency)

Opera has no problems to show the images in the correct way.

So why the transparency generated with gd isn't shown right?


Previous Comments:


[2003-01-13 19:06:51] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

The images on the specified site work just fine for me in my Opera
(6.02 Linux).

I'm marking the bug as bogus since I cannot replicate the problem, nor
do I see the described problem on the specified site with 4 different
browsers. Quircks of win32 Opera are surely not related to PHP.



[2003-01-13 18:37:56] [EMAIL PROTECTED]

So there isn't a possibility to fix this?

iliaa: And it don't works with Opera 6/7 for Windows.
If you got to http://www.partykel.de you'll see that in IE/Mozilla, the
mainmenu-buttons (generated with gd  libpng) at the top are
transparent and in Opera they aren't.



[2003-01-13 18:15:53] [EMAIL PROTECTED]

I guess this is a different problem then than the one described by
Steven Brown.



[2003-01-13 18:13:18] [EMAIL PROTECTED]

It was my fault libpng 1.2.5 didn't work (header confusion). Once I
clean the headers up the code once again worked properly. The only
browser with which I can duplicate the problem is Netscape 4.7 on
Linux.



[2003-01-13 18:02:26] [EMAIL PROTECTED]

The patch doesn't fix this problem :(

I changed the code and reconfigured/-compiled, but the example still
only works correct in Mozilla.

I think the best way would be to use an older version of libpng, e.g.
version 1.0.15 from http://www.libpng.org/pub/png/libpng.html, right?



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

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




#21624 [Bgs]: no transparent Colors in PNG's with Opera 6/7

2003-01-13 Thread Jones
 ID:   21624
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Bogus
 Bug Type: GD related
 Operating System: RedHat
 PHP Version:  4.3.0
 New Comment:

Since Version 6.0 Beta 1 Opera fully supports alpha transparency:
http://www.opera.com/windows/changelogs/600b1/index.dml

So because it worked in previous PHP/GD-versions, I think it is a PHP
issue


Previous Comments:


[2003-01-13 16:20:04] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Given that the behaviour is incositent across browsers and I cannot
replicate the described problem in Mozilla or IE 6.0 I'd say this is a
broser and not a PHP issue. Perpahps, Opera cannot handle alpha
transparency, which is what is causing the problem, this particular
type of transparency would not have been avaliable in older GD library.



[2003-01-13 15:33:23] [EMAIL PROTECTED]

If I generate a PNG with PHP 4.3.0, GD and libpng 1.2.5 and try to use
a transparent color with imagecolortransparent(), that doesn't work in
Opera (I've tested with Versions 6  7).
Sometimes simply nothing happens and sometimes another color is set as
transparent.
In Mozilla, everything works fine.

With the previous Version of PHP and GD 1.8.4 and libpng 1.2.4 it
worked in Opera.

My configure line:
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-freetype-dir=/usr/local/include
--with-jpeg-dir=/var/install/php/jpeg-6b --with-png-dir
--enable-track-vars --enable-ftp --with-zlib --with-gd --with-sockets
--enable-sockets --with-sysvshm --with-sysvsem --disable-debug
--with-mysql=/usr




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