I am trying to put a black piece of text on a picture (almost white background):
$im = ImageCreateFromJpeg ("$motiv");
$black = ImageColorAllocate ($im, 0, 0, 0);
$white = ImageColorAllocate ($im, 255, 255, 255);
$font=ImagePsLoadFont("/usr/share/ghostscript/fonts/z003034l.pfb");
$data = imagepstext($im, $mytext[$o], $font, 32, $black, $white, 200, $xstart);
Does anybody have an idea why the text which will be placed on the image is pink?
I have no idea; I have tried a lot of settings but it simply doesn't work - any ideas? Please email me.