Ok. I installed ActivePerl and its fully functional. But the problem remains...

My current guess it must have something to do with imagemagick, but I am still at loss.
perhaps the name of the files with spaces between the numbers?
perhaps something else?