Can I use when annotation pictures to text distortion (eg higher font height)
I tried to trace this option, but I failed. Options such as rotation or slant I found but change the aspect ratio of the font I could find.
Pre mohokrát thanks (especially for samples using the command line)
PS: this is an automatic Google translation so I apologize for any confusion. My mother tongue is Czech
Annotation pictures
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Annotation pictures
Annotate has no option to change the aspect ratio. But you can resize the image:
Code: Select all
convert -size 1000x1000 xc: -gravity South -pointsize 200 -annotate 0 Hello -resize 10%x100% -trim a.png
snibgo's IM pages: im.snibgo.com
Re: Annotation pictures
Thanks,
I managed this, but I thought distorted text, but a picture in the background to remain unchanged.
I managed this, but I thought distorted text, but a picture in the background to remain unchanged.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Annotation pictures
Many possibilities. For example, here is a Windows script to position the text at offset (150,100) from top-left:
Code: Select all
%IM%convert ^
in.png ^
( -size 1000x1000 xc:None ^
-gravity South -pointsize 200 ^
-annotate 0 Hello ^
-resize 10%%x100%% -trim ^
-repage +150+100 ^
) ^
-layers merge ^
out.png
snibgo's IM pages: im.snibgo.com
- GreenKoopa
- Posts: 457
- Joined: 2010-11-04T17:24:08-07:00
- Authentication code: 8675308
Re: Annotation pictures
I'm with snibgo. When you create text on it's own layer, endless distortion options are available. label: is an alternative to -annotate.
http://www.imagemagick.org/Usage/text/
http://www.imagemagick.org/Usage/text/