Search found 123 matches

by manit
2012-03-08T23:15:21-07:00
Forum: Users
Topic: filling squares on chess board
Replies: 3
Views: 10230

Re: filling squares on chess board

here is my script #we will draw 50 pixel squares on a white paper convert -size 800x600 xc:white board.jpg #drawing board convert.exe board.jpg -fill white -stroke black -draw " path 'M 200,100 l 400,0 l 0,400 l -400,0 l 0,-400' " square.jpg # draw vertical lines over previously generated ...
by manit
2011-04-27T21:06:21-07:00
Forum: Users
Topic: animating letters
Replies: 1
Views: 4655

animating letters

I have this wonderful idea Let us suppose |X axis | |_____ Y axis / / Z axis We have MANIT I want to do following animation (1)rotate M with respect to X axis bisecting the letter (2)A should swing like pendulum pegged at tapering top (3)I should move to & fro along X axis while N slides horizo...
by manit
2011-02-23T22:28:46-07:00
Forum: Users
Topic: calculating noise in video or image
Replies: 4
Views: 9428

Re: calculating noise in video or image

I can extract jpg frames from video obtained.
Is there a difference in brightness,contrast (or any pother parameter) when image blurs so that I can use to quantify the jpg as sharp or blurred.
by manit
2011-02-23T20:32:20-07:00
Forum: Users
Topic: calculating noise in video or image
Replies: 4
Views: 9428

calculating noise in video or image

When our cable telivision signal is weak then we see grains on screen otherwise the picture is sharp . Can we calculate that ?
Actually I am trying to differentiate between good & bad video (obtained in desktop using tv tuner card) using imagemagick.
by manit
2010-11-19T20:40:40-07:00
Forum: Users
Topic: replace white with transparency
Replies: 6
Views: 103515

Re: replace white with transparency

thank you fmw42,
I tried '-transparent white' in my image , still some spots were left which were not exactly white . Then I added -fuzz 10% . Voila , I got what I wanted .
by manit
2010-11-06T17:00:59-07:00
Forum: Users
Topic: ? written instead of characters in font "KacstOne"
Replies: 8
Views: 15859

Re: ? written instead of characters in font "KacstOne"

In my windows XP I have arial unicode MS which is 22MB ttf file with around 50,000 characters from unicode's over 1 lakh symbols Actually I am thinking of making a ttf file containing all unicode symbols . I find a heap of fonts on net each containing ASCII and few more with designer's liking. Is it...
by manit
2010-11-03T02:39:43-07:00
Forum: Users
Topic: ? written instead of characters in font "KacstOne"
Replies: 8
Views: 15859

Re: ? written instead of characters in font "KacstOne"

I get it you referred to scripts 'graphics_utf' and 'show_fonts' which I copied to /usr/bin . Then we can run the commands you mentioned. Also ANOTHER QUESTION I saw the file U2600.pdf (http://www.unicode.org/charts/PDF/U2600.pdf) containing miscellaneous unicode characters . I found interesting sym...
by manit
2010-11-02T22:39:54-07:00
Forum: Users
Topic: ? written instead of characters in font "KacstOne"
Replies: 8
Views: 15859

Re: ? written instead of characters in font "KacstOne"

to fmw42 , Still question marks prevail. Font is ttf because
/usr/share/fonts/truetype/ttf-kacst-one/KacstOne.ttf
It is installed by default in most linux OS.
I just got curious that why it happened .
Let us say , this means I should use some other font .
by manit
2010-10-30T02:36:19-07:00
Forum: Users
Topic: ? written instead of characters in font "KacstOne"
Replies: 8
Views: 15859

? written instead of characters in font "KacstOne"

I ran
convert -size 1024x30 xc:white -gravity south -font KacstOne -pointsize 25 -annotate 0 good good.jpg
The above font appears in list generated by "convert -list font" .
Why do I get just ? instead of letters . Numerals are fine .
by manit
2010-10-28T04:31:12-07:00
Forum: Users
Topic: writing text diagonally
Replies: 6
Views: 13638

the end

I understood the annotate operator . It is just that we can rotate x & y axis by as many degrees we want & direction is clockwise.
by manit
2010-10-27T21:12:03-07:00
Forum: Users
Topic: writing text diagonally
Replies: 6
Views: 13638

Re: writing text diagonally

thank you fnw42 . It worked as desired. I believe southwest gravity sets origin to bottom right & starting from 10,10 ensures that no corner of first letter gets cropped .

To bonzo , shearing using annotate seems difficult because firstly there is x degree & y degree.
by manit
2010-10-27T05:56:54-07:00
Forum: Users
Topic: writing text diagonally
Replies: 6
Views: 13638

writing text diagonally

I used the command

convert -size 200x200 xc:white -pointsize 20 -draw "rotate 315 text 0,200 'good'" out.jpg

I was expecting I will get 'good' written starting from bottom left corner towards top right .
Instead the direction is alright but origin point is not as desired .
by manit
2010-10-20T02:26:17-07:00
Forum: Users
Topic: creating implosion effect
Replies: 1
Views: 4053

creating implosion effect

I have this idea that if we divide an image into concentric annular rings & rotate each successive ring (say starting from image center ) by few degrees then it will be a spectacular effect . Is there a way to create mask of specific ring (giving inner & outer diameter along with circle cent...
by manit
2010-09-20T00:45:18-07:00
Forum: Users
Topic: writing unicode characters
Replies: 10
Views: 20447

Re: writing unicode characters

The only thing is
can we use this application in convert command ?
by manit
2010-09-15T23:47:32-07:00
Forum: Users
Topic: writing unicode characters
Replies: 10
Views: 20447

Re: writing unicode characters

i asked tomleitch & he told to use command "pango-view". It works as follows pango-view input-file.txt -q -o output.jpg pango-view -t "input_string" -q -o output.jpg you can do --font="Times New Roman 24px" To choose font size. Thanks to anthony & tomleitch for ...