Search found 4 matches

by aperly
2016-01-22T07:41:40-07:00
Forum: Users
Topic: IM7 -script option usage
Replies: 8
Views: 4501

Re: IM7 -script option usage

Little update: I went as far as using 500MB scripts and it worked fine (for real usage, not just for stress-testing). I guess it's quite robust. :)
by aperly
2015-12-26T18:25:40-07:00
Forum: Users
Topic: IM7 -script option usage
Replies: 8
Views: 4501

Re: IM7 -script option usage

Did you get an output. I did not on Mac OSX with my commands above (without the -write)? echo "-size 42x42 xc:red" | magick -verbose -script - t.png magick: UnrecognizedOption `-size 42x42 xc:red' in "stdin" at line 1,column 1 @ fatal/magick-cli.c/ProcessScriptOptions/190. [Windows shell behaviour ...
by aperly
2015-12-26T18:08:12-07:00
Forum: Users
Topic: IM7 -script option usage
Replies: 8
Views: 4501

Re: IM7 -script option usage

magick wrote:Try this instead:
  • echo -size 42x42 xc:red -write t.png | magick -script -
Perfect! Thanks again.

Now I can write very long commands easily.

PS: Was is documented somewhere? I cannot find any reference to it.
by aperly
2015-12-26T14:48:14-07:00
Forum: Users
Topic: IM7 -script option usage
Replies: 8
Views: 4501

IM7 -script option usage

Hi. I've got an issue with ImageMagick 7.0.0-0 Q16 x64 2015-12-20 (win64-portable). This works well: magick -size 42x42 xc:red t.png However, when I try: echo -size 42x42 xc:red t.png | magick -script - IM gives me the following errors: magick: UnableToOpenBlob 't.png': No such file or directory ...