Assigns the color palette ColPal to the image referenced by ImgHandle. The image handle is an integer between 0 and 16. The handle 0 refers to the main image of the 2D Imager, the handles 1 to 16 to the special images (if available).
The function returns the following error codes:
0 ... everything OK
-1 ... the image handle is invalid or points to a non-existing image