Euphoria
palette_extract.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 
5 #include "base/rgb.h"
6 
7 
8 namespace eu::core
9 {
10  struct Image;
11 
12  std::vector<Rgbi>
13  extract_palette_median_cut(const Image& image, int depth, bool middle_split);
14 }
15 
std::vector< Rgbi > extract_palette_median_cut(const Image &image, int depth, bool middle_split)