Search found 28 matches

by tczf1128
2019-07-05T01:15:08-07:00
Forum: Developers
Topic: How to extent image use c api
Replies: 1
Views: 36407

How to extent image use c api

Code: Select all

convert -background white -gravity center  input.jpg -resize 500x500 -extent 200x200 output.jpg
How to use C API to do this command?
by tczf1128
2019-02-25T01:07:34-07:00
Forum: Users
Topic: rotate the text with angle
Replies: 10
Views: 10767

Re: rotate the text with angle

yes. thanks so much. and I already translate it to api
by tczf1128
2019-02-24T22:29:36-07:00
Forum: Users
Topic: rotate the text with angle
Replies: 10
Views: 10767

Re: rotate the text with angle

It's my input image http://test-1257746263.picsh.myqcloud.com/out.png convert -size 140x80 xc:none -fill black -gravity northwest -draw "text 20,20 'copyright'" -gravity southeast -draw "text 10,20 'copyright'" -background none -rotate 10 -gravity center -extent 140x80 miff:- | c...
by tczf1128
2019-02-24T21:30:53-07:00
Forum: Users
Topic: rotate the text with angle
Replies: 10
Views: 10767

Re: rotate the text with angle

using my command, how to add params to let the text rotate?

Code: Select all

convert -size 140x80 xc:none -fill black -gravity northwest -draw "text 20,20 'copyright'"   -gravity southeast -draw "text 10,20 'copyright'"           miff:- |    composite -tile - out.png  wmark_text_tiled.png
by tczf1128
2019-02-24T20:34:01-07:00
Forum: Users
Topic: rotate the text with angle
Replies: 10
Views: 10767

Re: rotate the text with angle

Do you know how to translate your command into magickwand api?
by tczf1128
2019-02-24T20:18:11-07:00
Forum: Users
Topic: rotate the text with angle
Replies: 10
Views: 10767

Re: rotate the text with angle

Sorry, I forgot the IM version. IM v7.0.8

Your code is great, but I find it a little difficult for me to translate the command to magickWand API
by tczf1128
2019-02-24T05:14:11-07:00
Forum: Users
Topic: rotate the text with angle
Replies: 10
Views: 10767

rotate the text with angle

convert -size 140x80 xc:none -fill black -gravity northwest -draw "text 20,20 'copyright'" -gravity southeast -draw "text 10,20 'copyright'" miff:- | composite -tile - out.png wmark_text_tiled.png I tile text on a image using this command, how can I roate the text with angle
by tczf1128
2019-02-14T00:24:54-07:00
Forum: Users
Topic: How imagemagick support unicode character
Replies: 2
Views: 3711

How imagemagick support unicode character

like (๑S . Y๑) and (⁎⁍̴̛ᴗ⁍̴̛⁎)

IM version 7
by tczf1128
2019-02-13T01:30:29-07:00
Forum: Users
Topic: How to annotate a text with emoji watermark on a image
Replies: 5
Views: 6238

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

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
by tczf1128
2019-02-12T23:32:27-07:00
Forum: Users
Topic: How to annotate a text with emoji watermark on a image
Replies: 5
Views: 6238

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

will works with pango?
by tczf1128
2019-02-11T01:28:22-07:00
Forum: Users
Topic: How to annotate a text with emoji watermark on a image
Replies: 5
Views: 6238

How to annotate a text with emoji watermark on a image

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
by tczf1128
2019-02-02T22:50:07-07:00
Forum: Users
Topic: resize a png, but the size get bigger
Replies: 3
Views: 4468

Re: resize a png, but the size get bigger

what is the api in c about -colors options?
by tczf1128
2019-02-02T20:58:38-07:00
Forum: Users
Topic: resize a png, but the size get bigger
Replies: 3
Views: 4468

resize a png, but the size get bigger

I resize a png from 750x981 to 499x653, but the size get bigger. why?

http://test-1257746263.picsh.myqcloud.c ... bg02_1.png

Code: Select all

convert static_web_bg02_1.png -resize 499x653 xx.png
I find the type changed, from PaletteAlpha to TrueColorAlpha.
by tczf1128
2019-01-31T00:58:01-07:00
Forum: Developers
Topic: How to composite image with a mask
Replies: 2
Views: 8577

Re: How to composite image with a mask

thanks!
by tczf1128
2019-01-29T23:24:04-07:00
Forum: Developers
Topic: How to composite image with a mask
Replies: 2
Views: 8577

How to composite image with a mask

mask image: Image

base image: Image

I want to make the base image into a circle with this mask image

version: IM-7