ID: 20880 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: GD related Operating System: Mac OSX 10.2.2 PHP Version: 4.2.3 New Comment:
The application is at http://rc.opelgt.org/rechnereien/tacho.html The two gifs are at http://rc.opelgt.org/rechnereien/diagramm.gif and http://rc.opelgt.org/rechnereien/verdeck.gif The two pngs are at http://rc.opelgt.org/rechnereien/diagramm.png and http://rc.opelgt.org/rechnereien/verdeck.png The php code is <?php header ("Content-type: image/png"); $im = ImageCreateFromPNG ("diagramm.png") or die ("Kann keinen neuen GD-Bild-Stream erzeugen"); $im2 = ImageCreateFromPNG ("verdeck.png"); ImageCopy ($im, $im2, 0, 187, 0, 0, 17, 17); ImagePNG ($im); ?> A test html page for easy viewing with dark background <HTML><HEAD></HEAD> <BODY BGCOLOR="#990000"> <P><IMG SRC="diagrammping.php" WIDTH=174 HEIGHT=230 ALIGN=bottom></P> </BODY></HTML> The two pngs are created with Adobe PhotoShop 6. I tried to solve the problem with different colors in the two pings marked as transparent (before both #00FF00) but without success. Rüdiger Previous Comments: ------------------------------------------------------------------------ [2002-12-07 20:46:08] [EMAIL PROTECTED] Hello, A quick test helpfull to find out what happens with your image, can you provide a url (html page) with the 2 original images you use to create the final gif image you provided as a link, and a short script to reproduce it. About a compiler on a macos platform, you may take a look at: http://www.phpmac.com/ pierre ------------------------------------------------------------------------ [2002-12-07 19:45:20] [EMAIL PROTECTED] Hello Pierre, as mentioned I have a Mac and using a C-Compiler is beyond my possibilities. I will wait for 4.3 as a Mac-Version. Rüdiger P.s.: Or do you have a source for a free C-Compiler for Mac OSX? ------------------------------------------------------------------------ [2002-12-07 19:30:53] [EMAIL PROTECTED] <Try what?> These 2 links pointed you to the latest development version of php. The 1st link is the linux sources, the 2nd in the windows binary version (which you can use on a windows box as a full replacement of your current installation for tests purpose). In the case you will test with one these version, please use the bundled gd library (compile with "--with-gd" to get it). Then can you try to export it as a png image and post an url here ? pierre You have sent me twice the same link. When I have no C-Compiler (or what kind of source is this?) what shall I do with it? ------------------------------------------------------------------------ [2002-12-07 19:11:32] [EMAIL PROTECTED] Try what? You have sent me twice the same link. When I have no C-Compiler (or what kind of source is this?) what shall I do with it? Rüdiger ------------------------------------------------------------------------ [2002-12-07 17:34:26] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Download the latest PHP snapshot from the URL in this message and try it. ------------------------------------------------------------------------ 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/20880 -- Edit this bug report at http://bugs.php.net/?id=20880&edit=1