Search found 7 matches

by donslund
2014-12-15T04:15:59-07:00
Forum: Users
Topic: How to use letters as æ ø å
Replies: 4
Views: 6899

How to use letters as æ ø å

How can I use Danish letters as æ ø å in text strings in ImageMagick? My string is utf-8 encoded, but IM just skips the letters. convert julekort/julekort2.jpg -gravity south -stroke none -pointsize 25 -font /link/to/fonts/Oswald-Regular.otf -fill black -annotate +0+55 'Glædelig jul til alle mine ven ...
by donslund
2014-12-15T02:32:44-07:00
Forum: Users
Topic: Cannot add text to my image
Replies: 8
Views: 7079

Re: Cannot add text to my image

I tested on another server with af slightly newer ImageMagisk, and there it works. I will move the files.

Thanks.
by donslund
2014-12-15T01:16:40-07:00
Forum: Users
Topic: Cannot add text to my image
Replies: 8
Views: 7079

Re: Cannot add text to my image

ImageMagick 6.6.7-1 2011-01-17

PHP Version 5.3.8
by donslund
2014-12-15T00:01:20-07:00
Forum: Users
Topic: Cannot add text to my image
Replies: 8
Views: 7079

Re: Cannot add text to my image

exec("convert -size 100x100 xc: -draw 'text 50,50 hello' h.png"); just gives me a white image size 100x100px. So the text part doesn't work, ata least not on my server.
by donslund
2014-12-14T15:38:18-07:00
Forum: Users
Topic: Cannot add text to my image
Replies: 8
Views: 7079

Re: Cannot add text to my image

Sorry, still no text. I suppose this should put the text right in the middle og the image. I only get the Background-image.
by donslund
2014-12-14T14:15:06-07:00
Forum: Users
Topic: Cannot add text to my image
Replies: 8
Views: 7079

Cannot add text to my image

I cannot add text to my image. This works fine, it draws the bezier. exec("convert julekort/".$row["image"].".jpg -draw 'bezier 70,50 95,100 95,0 120,50' flower_annotate1.jpg"); But this writes no text exec("convert julekort/".$row["image"].".jpg -draw \"text 100,100 'Works like magick!' \" flower ...
by donslund
2012-06-11T01:28:54-07:00
Forum: Users
Topic: Resize, crop and then mask
Replies: 2
Views: 7016

Resize, crop and then mask

Hi. I have some images that I would like to risize to shortest side, then cop the logest side and then put a mask to it. I have this code: // resize $cmd = "convert $image -resize 212x250^ -gravity center -extent 212x250 $new_name"; exec("$cmd"); //mask $cmd = "composite $new_name $overlay $mask ...