The outputs from GD and Imagick aren't exactly the same for each blending mode. They _are_ very similar, but not _exactly_ the same, which ain't great. It'll take a lot of messing around, but it could be done.