concrete5/concrete5 — pull request #507 by patrickheck (2012-04-19 16:42:07+00:00)
Title: Deal nicely with GIF files that have an illegal index-color set.

This prevents an error from popping up in that case. see http://stackoverflow.com/questions/3874533/what-could-cause-a-color-index-out-of-range-error-for-imagecolorsforindex