array of pixel data (copied internally)
size (width and height) of the dsdl2.Surface in pixels
skips in bytes per line/row of the dsdl2.Surface
bit depth of the palette index (1, 4, or 8)
dsdl2.Palette to use
dsdl2.SDLException if allocation failed or palette-setting failed
Constructs a blank indexed palette-using dsdl2.Surface from an array of pixels