ID:               20880
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         GD related
 Operating System: Mac OSX 10.2.2
 PHP Version:      4.2.3
 New Comment:

Thank you too ;-)

Rüdiger


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

[2002-12-08 11:56:02] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

The current cvs works well with the provided images. Try your script
with the cvs version.

Thank's the report,

pierre

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

[2002-12-08 02:37:29] [EMAIL PROTECTED]

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

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

[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?

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

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

Reply via email to