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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

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

Post 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.
Last edited by GeeMack on 2017-11-01T12:33:39-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
User avatar
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

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

Post by GeeMack »

This issue has been resolved in IM7.0.7-9. Thanks!
Post Reply