Page 1 of 1

How to annotate a text with emoji watermark on a image

Posted: 2019-02-11T01:28:22-07:00
by tczf1128
add text like this, "💍😎💤💓hello".
I add Apple-Color-Emoji.ttf in /usr/share/fonts, but it not works

imagemagick version: 7.0.8-23

Re: How to annotate a text with emoji watermark on a image

Posted: 2019-02-11T11:05:48-07:00
by fmw42
Imagemagick does not support any emojis at the current time, as far as I know.

Re: How to annotate a text with emoji watermark on a image

Posted: 2019-02-12T23:32:27-07:00
by tczf1128
will works with pango?

Re: How to annotate a text with emoji watermark on a image

Posted: 2019-02-13T01:02:55-07:00
by fmw42
I do not know, but doubt it. Even it possible, with pango, fonts must be included in the system and not just called by Imagemagick.

Re: How to annotate a text with emoji watermark on a image

Posted: 2019-02-13T01:30:29-07:00
by tczf1128

Code: Select all

convert -background none -size 600x50 -set colorspace sRGB pango:"🌏💍😎💤💓将" pango.png
It seems work, but I dont know how to do it with imagick api

Re: How to annotate a text with emoji watermark on a image

Posted: 2019-02-13T10:39:38-07:00
by fmw42
I do not know if Imagick supports PANGO. I do not see it in their docs.