Which library is better for image processing, GD2 or ImageMagick?
Drupal 7 supports ImageMagick with the ImageMagick module

I suspect better is subjective depending on your specific image manipulation tasks. The benchmarks I could find didn't conclusively favor either one overall but specific tasks were faster in one or the other. Opinion favors ImageMagick for quality but recent posts suggests GD2 has caught up.