Will share the patch for master branch seprately as :
1) In latest version of imagemagick , "convert " utility is replaced by "magick" 
2) The "S" has been changed 

Thanks 
Ashish Kumar Mishra