Search found 7 matches

by CanadianHusky
2020-05-05T10:01:54-07:00
Forum: Users
Topic: how to use -write mpr:
Replies: 5
Views: 1479

Re: how to use -write mpr:

It is exactly that link that you mentioned, https://www.imagemagick.org/script/command-line-options.php where I searched up and down to understand how the pure command command line and how -script and -write works, looking for examples. I did find it a bit inconsistent that -write at the command lin...
by CanadianHusky
2020-05-04T23:58:30-07:00
Forum: Users
Topic: how to use -write mpr:
Replies: 5
Views: 1479

Re: how to use -write mpr:

Understood. Thank you. The -write argument is present because the actual script is much longer and executed from a text file. Without the -write at the end, the script fails with an error, which itself took a while to figure out that -write MUST be present when executing from script. It was my incor...
by CanadianHusky
2020-05-04T05:30:01-07:00
Forum: Users
Topic: how to use -write mpr:
Replies: 5
Views: 1479

how to use -write mpr:

Hello, On Windows the following command gives an error. >magick "C:\input.jpg" -clahe 150x150+32+4% -colorspace gray -write mpr:step1 -blur 3x15 -black-threshold 35% +dither -colors 2 -normalize -write "C:\mask_1.jpg" +delete mpr:step1 +append -black-threshold 35% +dither -colors 2 -normalize -write...
by CanadianHusky
2020-05-01T05:01:59-07:00
Forum: Users
Topic: time command line option
Replies: 1
Views: 991

Re: time command line option

found it....well hidden
-verbose
by CanadianHusky
2020-05-01T04:52:41-07:00
Forum: Users
Topic: -fx function use for neutral gray filter
Replies: 4
Views: 2487

Re: -fx function use for neutral gray filter

Thank you. Indeed very powerful -fx language. I am trying to work around that bug for -fx min
by CanadianHusky
2020-05-01T04:49:47-07:00
Forum: Users
Topic: time command line option
Replies: 1
Views: 991

time command line option

Hello, I read https://imagemagick.org/Usage/basics/#cmdline but there is no mention how to measure the execution speed/time of the last convert command. I thought its very easy and simple but I cannot find it How can I have the execution time output in stdout on Windows? >magick convert .....some co...
by CanadianHusky
2020-03-11T10:01:53-07:00
Forum: Users
Topic: -fx function use for neutral gray filter
Replies: 4
Views: 2487

-fx function use for neutral gray filter

Hello, I studied the -fx functions for ImageMagick 7 at https://imagemagick.org/script/fx.php but could not figure out the correct function syntax for this algorithm 1 input image and 1 input value (threshold) loop over all pixels if (max(r,g,b) - min(r,g,b)) > threshold then output pixel = original...