Changes the image palette.
* This will destroy the existing palette and replace it with the given palette pointer.
* Only the pointer is stored, so the palette should be a new palette and it can not be a static array.
*
* \verbatim image:SetPalette(palette: imPalette) [in Lua 5] \endverbatim
* \ingroup imgclass
Changes the image palette. * This will destroy the existing palette and replace it with the given palette pointer. * Only the pointer is stored, so the palette should be a new palette and it can not be a static array. * * \verbatim image:SetPalette(palette: imPalette) [in Lua 5] \endverbatim * \ingroup imgclass