[magick-users] loop to make 300 images
zimbot
jshupert at theppsgroup.com
Mon Jun 2 06:55:26 PDT 2008
Friends,
I have been trying to make seq of images .
I have tried mostly on windows - but i have also tried linux sh.
nether of my efforts have worked.
goal :: create 300 pngs , size = 720x480 , each is Black with white text of
1 incrementing to 300 , 0-300.pngs
--------------------( linix
in a file make300.sh
#!/bin/sh
for i while i<300
do
echo $i
mogrify -normalize \\
-size 720 x 480 \\
-bordercolor yellow -border 5 \\
-fill white \\
-font \\
-*-Times \\
-gravity center \\
-draw 'text 20,20 $i\\
$i.png
$i=$i+1
done
--------------------( win
in a file make300.bat // also tried vbs //
---
LOAD DLL "CORE_RL_wand_.dll"
CALL DLL "MagickWandGenesis"
m_wand = CALL DLL "NewMagickWand"
if m_wand$ = 0 then NewMagickWand failed
err = CALL DLL "MagickReadImage",m_wand$,"logo:"
if err$ = 0 then the read failed
for i while i<300
do
echo $i
mogrify -normalize \\
-size 720 x 480 \\
-bordercolor yellow -border 5 \\
-fill white \\
-font \\
-*-Times \\
-gravity center \\
-draw 'text 20,20 $i\\
CALL DLL "MagickWriteImage",m_wand$,$i.png
$i=$i+1
CALL DLL "MagickWandTerminus"
-----------
so you see I wish to make a bunch pf pngs that have a count up
( actually i hope to increment the background color also from black to a
dark grey. )
I hope someone might know how to do this.
The above is a combination of things I have found on the web and invention.
I have the newest version
THANKS!
--
View this message in context: http://www.nabble.com/loop-to-make-300-images-tp17580602p17580602.html
Sent from the Magick-users mailing list archive at Nabble.com.
More information about the Magick-users
mailing list