Malcolm Beck´s: Wasserzeichen in einem Bild transparent machen

Beitrag lesen

hi,

Verständnisfrage: Was ist das für ein Kommando?

$info2[0].'<br>';

Das musst du als ganzes betrachten:

$bild2 = 'image.png';  
$info2 = GETIMAGESIZE($bild2);  
$info2[0].'<br>';

http://de.php.net/getimagesize

„ Returns an array with 7 elements.
Index 0 and 1 contains respectively the width and the height of the image.“

Dann wäre $info2[0] die width des Bildes.

mfg

--
„Wenn du nicht bereit bist, dafür zu sterben, dann streiche das Wort »Freiheit« aus deinem Vokabular.“ -- Malcolm X
I Have a Dream