How to switch from GD to ImageMagic as image engine?

Yeah, I tested this with Mamp Pro for that exact reason, that the php module comes preinstalled and you only have to switch it on in php.ini, but I would think that the module would show up in phpinfo which it doesn’t though.