fuel/core — pull request #1198 by quetzyg (2012-11-13 16:19:14+00:00)
Title: Update classes/image/gd.php

Error: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /mnt/data/www/fuel/core/classes/image/gd.php on 41

From the tests I've done, this only happens when the Image class tries to process an image without channel information (RGB/CMYK).

To avoid this, we should first check for the info, and throw an Exception if we cannot get it.