głowię się nad pewnym problem ,a mianowicie szukam sposobu na złamanie textu który nadpisuje na zdjęciu w imagick i cieżko mi sobie wyobrazić jak to zrobić.Ktoś może jakoś naprowadzić?
$image = new Imagick('example.jpg'); $draw = new ImagickDraw(); $color = new ImagickPixel(); $color->setColor("rgb(220,220,220)"); $image->borderImage($color,2,2); /* Black text */ $draw->setFillColor('black'); /* Font properties */ $draw->setFont('Bookman-DemiItalic'); $draw->setFontSize( 30 ); /* Create text */ $image->annotateImage($draw, 10, 45, 0, 'The quick brown fox jumps over the lazy dog'); /* Output the image with headers */
pozdrawiam