Text rotation
Posted: 2007-11-19T15:43:11-07:00
Hi,
i want to make a transparent png with a rotated text in it. My Code is as follows:
But, whatever i try, when i rotate the text is blurred.
Without the -rotate argument, the text is sharp.
The Code above is a little bit complicated because I need the transparent canvas. Here is the essential extract:
It is the same here, without the rotation it is fine, but with the rotation it is blured.
The effect is independent of the font.
thx, knedl
i want to make a transparent png with a rotated text in it. My Code is as follows:
Code: Select all
convert ( -size 235x53 xc:none ) ( ( -size 250x50 xc:none ) ( -size 0x0 -background none -font journal.ttf -pointsize 23 -fill #111111 label:"Text Text Text" -rotate -5 ) -gravity center -composite ) -composite -depth 8 -quality 95 grouptext.png
Without the -rotate argument, the text is sharp.
The Code above is a little bit complicated because I need the transparent canvas. Here is the essential extract:
Code: Select all
convert -background none -font journal.ttf -pointsize 23 -fill #111111 label:"Text Text Text" -rotate -5 -depth 8 -quality 95 grouptext.png
The effect is independent of the font.
thx, knedl