Page 1 of 1

GD-Library 2

Posted: 2004-08-12 22:27
by franks2
Hallo,
ich habe auf unserem Server die GD 2 installiert.
Nun habe ich das Problem dass eine alte Seite beim erstellen
von Thumbnails die Bilder komisch anzeigt. Vorher hat die Seite
sauber funktioniert. Was kann ich machen um die alte und die
neue GD gleichzeitig laufen zu lassen.

Danke

Frank

http://www.hotel-nova.com

Re: GD-Library 2

Posted: 2004-08-13 07:39
by arty
Ohne genauen Fehlerbeschreibungen kann man dir nicht helfen. Warum nimmst nicht PHP 4.3.8, dort ist GD2 gleich mit gebundlet.

bye
arty

Re: GD-Library 2

Posted: 2004-08-18 23:52
by odysseus
Bei PHP 4.3.8 ist in der gebundelten GD noch kein GIF Support mit drinnen. Vielleicht geht es darum?

Re: GD-Library 2

Posted: 2004-08-19 08:27
by flo
Hi ,

hab die GD schon lange nciht mehr benutzt, aber könnnte es sein, daß im script "imagecreate" steht statt "imagecreatetruecolor"?

Grüße,

flo.

Re: GD-Library 2

Posted: 2004-08-19 09:14
by franks2
hi flo,
wo im stript sollte dass stehen?

Danke

Frank

http://www.hotel-nova.com

Re: GD-Library 2

Posted: 2004-08-19 14:12
by flo
Im Regelfall, wenn das Bild begonnen wird ... eventuell betrifft das auch andere Funktionen, hab in der PHP-Doku folgendes gefunden:

Code: Select all

GD UPGRADE PROBLEM:
I used imagecreate with gd 1.6 to make resized images of big photos. Then, when using the same script on gd 2.0, the colors got all wrong.
Using imagecreatetruecolor() fixed the problem!

flo.

Re: GD-Library 2

Posted: 2004-08-29 11:32
by franks2
dnke es funktioniert.
flo wrote:Im Regelfall, wenn das Bild begonnen wird ... eventuell betrifft das auch andere Funktionen, hab in der PHP-Doku folgendes gefunden:

Code: Select all

GD UPGRADE PROBLEM:
I used imagecreate with gd 1.6 to make resized images of big photos. Then, when using the same script on gd 2.0, the colors got all wrong.
Using imagecreatetruecolor() fixed the problem!

flo.