A replacement for Magento's GD2 image adapter with imagemagick