switched from gd to magickwand api