GD-Library 2

Apache, Lighttpd, nginx, Cherokee
Post Reply
franks2
Posts: 8
Joined: 2004-08-12 22:22
 

GD-Library 2

Post 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
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11
Contact:
 

Re: GD-Library 2

Post 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
odysseus
Posts: 115
Joined: 2003-02-07 10:21
 

Re: GD-Library 2

Post by odysseus »

Bei PHP 4.3.8 ist in der gebundelten GD noch kein GIF Support mit drinnen. Vielleicht geht es darum?
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin
 

Re: GD-Library 2

Post 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.
franks2
Posts: 8
Joined: 2004-08-12 22:22
 

Re: GD-Library 2

Post by franks2 »

hi flo,
wo im stript sollte dass stehen?

Danke

Frank

http://www.hotel-nova.com
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin
 

Re: GD-Library 2

Post 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.
franks2
Posts: 8
Joined: 2004-08-12 22:22
 

Re: GD-Library 2

Post 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.
Post Reply