Maybe we can replace gd with Image Magick: http://bakery.cakephp.org/articles/view/image-magick-resize-helper or http://www.php.net/manual/en/class.imagick.php to support more image formats.