Search found 4 matches

by kenny
2013-08-24T13:51:42-07:00
Forum: Users
Topic: queryfontmetrics - annotateImage
Replies: 8
Views: 4040

Re: queryfontmetrics - annotateImage

Hi,
thank you for the help.
Is there a other possibility maybe to calculate the free position?
Maybe to use $metrics = $image->queryFontMetrics($draw, $text);


[boundingBox] => Array
(
[x1] => 0
[y1] => -2
[x2] => 6.890625
[y2] => 7
)

[originX] => 70
[originY] => 0

I do not come to the ...
by kenny
2013-08-23T08:59:06-07:00
Forum: Users
Topic: queryfontmetrics - annotateImage
Replies: 8
Views: 4040

Re: queryfontmetrics - annotateImage

Thank you very much!
My Background havn't only white oder black bckground. Its an Image with little points in black and scratches. Textcolor also in Black.
Did you have a other Method for me?

Best regards
Henry
by kenny
2013-08-23T06:51:30-07:00
Forum: Users
Topic: queryfontmetrics - annotateImage
Replies: 8
Views: 4040

Re: queryfontmetrics - annotateImage

Hi, thank you for the answer.
That is absolutely correct.

Can you give me a code example for (step 3) - Establish whether any text is already there?

Great thanks
kenny
by kenny
2013-08-23T04:11:39-07:00
Forum: Users
Topic: queryfontmetrics - annotateImage
Replies: 8
Views: 4040

queryfontmetrics - annotateImage

Dear Forum,
i have a little Problem with ImageMagick. I want to place some Text on an Image. I want to avoid overlap the Text.
The Position is random(x, y) is it possible to avoid the overlap? "Is there some text, dont put it on this position.. .
I want to write some Text on a big Map. Without ...