No mask will have any bits set to 1 in common with any other mask or with any of the pixels. For DirectColor , each mask will lie within the corresponding pixel subfield. All of these are allocated by the request. This is true even for PseudoColor . Diagnostics BadColor A value for a Colormap argument does not name a defined Colormap.
Some numeric value falls outside the range of values accepted by the request.
Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can generate this error.