Impliment convert for ImagickExtension