fix issue with Non-static method Imagick ../..; @ doesn't seem to work in this case

please review @DeepDiver1975 @PVince81 @MorrisJobke