Thank You! - It works! Pete Whatever skrev: > Hi Jan, > >> I don't know how to split the rows in a "batch file" >> > > The DOS line continuation character is ^ > More info on converting scripts is at: > http://www.imagemagick.org/Usage/windows/#convertion > > > >> I have an font on my hard disk with the name: "c:\windows\fonts\Sheer Beauty >> Regular.ttf" >> > > If a font name has spaces in it, Windows replaces them with hyphens - > So, you'll probably need to use the name "Sheer-Beauty-Regular" or perhaps > "Sheer-Beauty" > but to find out for sure, you can use this IM command to get a list of all > the fonts that IM can find and the name you use to access it: > > identify -list font > > >> I don't understand what '% c' means or where the variable find its value >> ("Hatching of Linux") >> > > I assume that it is a shell variable but the webpage never explains where it > comes from. > In DOS you would set a variable like this: > set c=Hatching of Linux > (don't use quotes around the string) and then to refer to that variable in > the convert command you must put a percent sign on both sides of the variable > name like this %c% > > There are a few other changes you can make. In linux, the characters ! # ( > and ) must be escaped with a backslash because they mean something different > to the shell. But with DOS they don't, so you can remove the backslashes. > Also, Linux uses single qutoes around strings but DOS uses the double quote. > So your original command should look something like this: > > convert -define jpeg:size=400x400 hatching_orig.jpg -resize "120x200>" ^ > ( +clone -matte -fill transparent -draw "color 0,0 reset" ^ > -resize 1000x200! -font Sheer-Beauty -pointsize 72 -gravity Center ^ > -strokewidth 8 -stroke black -fill black -annotate 0,0 "%c%" ^ > -channel RGBA -blur 0x8 ^ > -strokewidth 1 -stroke white -fill white -annotate 0,0 "%c%" ^ > -fuzz 1% -trim +repage -resize 115x ^ > ) -gravity North -composite -strip +repage annotated.gif > > > Best Wishes > Pete > > > > > >
_______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
