avalanche123/Imagine — pull request #117 by raziel057 (2012-05-03 11:00:13+00:00)
Title: Error on unsupported image type in GD Driver

Currently, we can encounter a Notice: Undefined offset: 6 in .../vendor/imagine/lib/Imagine/Gd/Imagine.php line 133 if $type correspond to an unsupported image type. For example if I open a bmp file (IMAGETYPE_GIF = 6), $this->types[$type] doesn't exists.