Better abstraction, now is possible to inject the Imagick object

Hi,

This is another small pr, in this case provides a way to inject the Imagick object instead of pass a path in the construct. But keeping the same behavior of the class


Regards