(Rotate) query on win-com-line (test code inside)
Posted: 2007-10-04T05:58:28-07:00
I am trying Rotation in windows platfom on command line:
-----------------------------------------------------------------------------------
Output
----------
Output.bmp shows two black text lines ("ImageMagicK") at 100,100 location and another at 100,900 location.
Rotation of both the text is "+5".
But the rotation effect of second line is different with first line (Why so?)
and How i can get the good desired result (Please suggest me)
Thanks and Regards
Ravinderjit Singh Sidhu
-----------------------------------------------------------------------------------
Code: Select all
convert -size 2100x1200 xc:white ^
( -font arial -pointsize 105 -fill rgb(255,0,0) -draw " rotate +0 text 100, 100 '1.ImageMagick'" ) ^
( -font arial -pointsize 105 -fill rgb(0,0,0) -draw " rotate +5 text 100, 100 '1.ImageMagick'" ) ^
( -font arial -pointsize 105 -fill rgb(255,0,0) -draw " rotate +0 text 100, 900 '2.ImageMagick'" ) ^
( -font arial -pointsize 105 -fill rgb(0,0,0) -draw " rotate +5 text 100, 900 '2.ImageMagick'" ) ^
output.BMP
Output
----------
Output.bmp shows two black text lines ("ImageMagicK") at 100,100 location and another at 100,900 location.
Rotation of both the text is "+5".
But the rotation effect of second line is different with first line (Why so?)
and How i can get the good desired result (Please suggest me)
Thanks and Regards
Ravinderjit Singh Sidhu