$drawGetImagePalette

Function $drawGetImagePalette give back the color palette
Syntax
    $drawGetImagePalette
DocumentationFunction $drawGetImagePalette give back the color palette are used on the image you´ve created with $createImage

    Parameter:
      count, the max count of the colors they give back the function
    Result:
      color palette
    Note:
      using the Image/Draw functions, the content-type of the template needs to be 'image/gif'
Examples
Create an image with a size of (200, 200) as a black rectangle and give back the used colors on image:

    $createImage{200}{200}
    $setDrawColor{black}
    $fillRectangle{0}{0}{199}{199}
    $drawGetImagePalette{}
GroupGraphic
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1