Imagick library (or PECL) doesnt come with php. You have to install it manually. So, you can’t use it with 000webhost. I’m quite not sure about premium shared hosting too. I guess you need a VPS.
If you are able to buy a VPS, then buy it. But, i recommend you to use gd image functions.