picslate.make_picture.get_colors

picslate.make_picture.get_colors(image: object, positions: list[int, int, int, int], mod: str = 'font') list[int, int, int][source]

get_colors. attempt to find the main color from position

Parameters
  • image (object) –

  • positions (list[(int, int, int, int)]) –

  • mod (str) –

Return type

list[(int, int, int)]