At http://www.ict.griffith.edu.au/anthony/ ... ick6/text/ Antony uses label:@/etc/modt for one of the examples. I have translated the code as label:@modt.txt and created a local modt.txt file to hold the Message of The Day, but all I get is @modt.txt in the label_file.gif. I am using ImageMagick 6.6.2 under Windows 7 and the ImageMagick documentation seems to imply that ImageMagick will support Unix-like command line features under Windows. Please can someone explain what I am doing wrong and point me at any advice on translating ImageMagick examples for use with Windows. BTW I have already found that in Anthony's examples a single-quote must be changed to a double-quote.
Thanks Steve
Use of command line label:@ syntax with Windows
- whugemann
- Posts: 289
- Joined: 2011-03-28T07:11:31-07:00
- Authentication code: 8675308
- Location: Münster, Germany 52°N,7.6°E
Re: Use of command line label:@ syntax with Windows
The label syntax works just fine under Windows, too, see http://www.imagemagick.org/Usage/window ... r_encoding. Try also
with %...% being some previous set environment variables. This works definitively; I use it daily.
Code: Select all
Convert test.png -pointsize %ps% -fill %color% -gravity %gravity% -annotate +0+0 @title.txt test_with_label.png
Wolfgang Hugemann