Added imagick and gd/jpeg support