Page 1 of 1

[Resolved] Unsetting random seed with "+seed" fails with IM 7.0.7

Posted: 2017-10-30T12:51:43-07:00
by GeeMack
I notice an explanation for seeding the random number generator using "-seed" at THIS link. It mentions how you should be able to unset the seed number using "+seed". This will fail using IM 7.0.7-8 on Windows 10 64 command line and scripts. Here is a command that generates the error...

Code: Select all

magick xc: -seed 1234 -set option:v1 "%[fx:random()]" +seed -format "%[v1] %[fx:random()]\n" info:
This is the output...

Code: Select all

magick: invalid argument for option '+seed' '(null)' at CLI arg 6 @ error/operation.c/CLISettingOptionInfo/1333.

Re: Unsetting random seed with "+seed" fails with IM 7.0.7

Posted: 2017-10-30T15:17:19-07:00
by magick
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.

Re: Unsetting random seed with "+seed" fails with IM 7.0.7

Posted: 2017-11-01T12:33:53-07:00
by GeeMack
This issue has been resolved in IM7.0.7-9. Thanks!