Go into your control panel and then into the Gallery Settings and make sure everything is set to what you want and then submit. By default it doesn't know whether to use gd2 or imagemagick until you configure that screen. It may already have the values you need filled in and you might not need to change anything, and can just submit.