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
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

Former-commit-id: 1c38ecede8c90863b171ee889238b3cda088dac3
biplobice/concrete5,mlocati/concrete5,deek87/concrete5,acliss19xx/concrete5,MrKarlDilkington/concrete5,olsgreen/concrete5,concrete5/concrete5,haeflimi/concrete5,deek87/concrete5,rikzuiderlicht/concrete5,deek87/concrete5,triplei/concrete5-8,mlocati/concrete5,KorvinSzanto/concrete5,olsgreen/concrete5,biplobice/concrete5,acliss19xx/concrete5,concrete5/concrete5,hissy/concrete5,mainio/concrete5,rikzuiderlicht/concrete5,jaromirdalecky/concrete5,hissy/concrete5,concrete5/concrete5,haeflimi/concrete5,acliss19xx/concrete5,jaromirdalecky/concrete5,deek87/concrete5,mainio/concrete5,KorvinSzanto/concrete5,haeflimi/concrete5,haeflimi/concrete5,mlocati/concrete5,mainio/concrete5,biplobice/concrete5,concrete5/concrete5,mlocati/concrete5,KorvinSzanto/concrete5,hissy/concrete5,olsgreen/concrete5,rikzuiderlicht/concrete5,MrKarlDilkington/concrete5,MrKarlDilkington/concrete5,jaromirdalecky/concrete5,triplei/concrete5-8,a3020/concrete5,hissy/concrete5,biplobice/concrete5,a3020/concrete5,jaromirdalecky/concrete5,triplei/concrete5-8