I'm not familiar with PHP but I think what might be happening is that the Gravity isn't being set and it therefore defaults to Northwest. This would then draw your text just above the top of the image so that it won't show. Try moving the text with:
Code: Select all
MagickAnnotateImage($mwand,$dwand,100,50,0,"Flower");
and see if it shows up. If it does, then the Gravity is the problem.
BTW. Why do you set the pixelwand colour and then not use it in the DrawSetFillColor() function? That might also be the problem if the colour isn't being set and defaults to black so that you're drawing black text on a black background
Pete