14124 numberOfColourBits parameter must be 1,4,8 or 24
Cause
This error occurs when calling the createPicture method if you have not correctly specified the number of color bits that apply to the created picture.
Action
Correct your application code to specify the correct numberOfColorBits parameter in the method call.