I have tried all of that, and it seems like ImageMagick is not properly installed in my Cygwin.
On the other hand, using console commands is not necessary for me, because I have found out that my hosting provider does not allow using it in PHP. Now I can try to do anything only with MagickWand

Many thanks for your help!