Имя пользователя:
Пароль:
 

Показать сообщение отдельно

Ветеран


Сообщения: 27449
Благодарности: 8088

Профиль | Отправить PM | Цитировать


Разве что в каждой строке прописывать команду. Но тут выползает другая проблема — из-за этого потребуется указывать эту команду со всеми значимыми аргументами полностью. На Вашем примере разницы не увидишь, но можете сравнить:
Код: Выделить весь код
"C:\Program Files\ImageMagick-6.9.3-Q8\convert.exe" ^
	-size 320x100 xc:lightblue ^
	-font georgia -pointsize 72 ^
	-draw "fill black text 27,67 'Led Zeppelin'" ^
	-draw "fill black text 25,68 'Led Zeppelin'" ^
	-draw "fill black text 23,67 'Led Zeppelin'" ^
	-draw "fill black text 22,65 'Led Zeppelin'" ^
	-draw "fill black text 23,63 'Led Zeppelin'" ^
	-draw "fill black text 25,62 'Led Zeppelin'" ^
	-draw "fill black text 27,63 'Led Zeppelin'" ^
	-draw "fill black text 28,65 'Led Zeppelin'" ^
	-draw "fill white text 25,65 'Led Zeppelin'" ^
	-draw "fill white text 10,44 'Led Zeppelin'" ^
	8.png

"C:\Program Files\ImageMagick-6.9.3-Q8\convert.exe" ^
	-size 320x100 xc:lightblue ^
	-font georgia -pointsize 72 ^
	-draw "fill black text 27,67 'Led Zeppelin'" ^
	-draw "text 25,68 'Led Zeppelin'" ^
	-draw "text 23,67 'Led Zeppelin'" ^
	-draw "text 22,65 'Led Zeppelin'" ^
	-draw "text 23,63 'Led Zeppelin'" ^
	-draw "text 25,62 'Led Zeppelin'" ^
	-draw "text 27,63 'Led Zeppelin'" ^
	-draw "text 28,65 'Led Zeppelin'" ^
	-draw "fill white text 25,65 'Led Zeppelin'" ^
	-draw "text 10,44 'Led Zeppelin'" ^
	9.png
— во втором файле в последней команде цвет будет взят не белый, а чёрный — видимо, умолчальный (?).

Посему, в данном конкретном случае, лучше использовать отдельную команду «-fill», тогда указанный цвет будет наследоваться всеми последующими командами «-draw». Т.е.:
Код: Выделить весь код
"C:\Program Files\ImageMagick-6.9.3-Q8\convert.exe" ^
	-size 320x100 xc:lightblue ^
	-font georgia -pointsize 72 ^
	-fill black ^
	-draw "text 27,67 'Led Zeppelin'" ^
	-draw "text 25,68 'Led Zeppelin'" ^
	-draw "text 23,67 'Led Zeppelin'" ^
	-draw "text 22,65 'Led Zeppelin'" ^
	-draw "text 23,63 'Led Zeppelin'" ^
	-draw "text 25,62 'Led Zeppelin'" ^
	-draw "text 27,63 'Led Zeppelin'" ^
	-draw "text 28,65 'Led Zeppelin'" ^
	-fill white ^
	-draw "text 25,65 'Led Zeppelin'" ^
	-draw "text 10,44 'Led Zeppelin'" ^
	10.png
Это сообщение посчитали полезным следующие участники:

Отправлено: 17:42, 18-12-2016 | #4