Jump to content

Imagick - Stoke Outside of Chars - Bounding Box


rReLmy

Recommended Posts

Hi

 

I got a Problem.

I create dynamic title images with imagick.

Now I have a problem, i can define a stroke inside a char, color, width no Problem!

But I have to define a stroke outside of the chars.

 

My code looks like this

//Text Stroke
if(is_numeric($this->font_stroke) && $this->font_stroke>0) {
$color->setColor($this->font_stroke_color); //set color
//$draw->setstrokeopacity();
$drawings->setStrokeWidth($this->font_stroke);
$drawings->setStrokeColor($color);
$drawings->setStrokeAlpha($this->font_stroke_alpha);
}

 

Is there a possibility to display the stroke outside of the chars?

Sample Image

 

PHP Version 5.2.5 and newest Imagick self compiled.

Greets

 

Adds.

Is there a Bounding Box in Imagick like imagettfbbox()?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.