GIF files are limited to a maximum of 8 bits/pixel,it simply means that no more than 256 colors are allowed in().