mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-25 16:37:42 +01:00
286f7c643f
When this option is enabled all png images will be converted to PNG-8 (8 bit per pixel).
15 lines
361 B
C
15 lines
361 B
C
//
|
|
// nearest.h
|
|
// pngquant
|
|
//
|
|
|
|
#ifndef NEAREST_H
|
|
#define NEAREST_H
|
|
|
|
struct nearest_map;
|
|
LIQ_PRIVATE struct nearest_map *nearest_init(const colormap *palette);
|
|
LIQ_PRIVATE unsigned int nearest_search(const struct nearest_map *map, const f_pixel *px, const int palette_index_guess, float *diff);
|
|
LIQ_PRIVATE void nearest_free(struct nearest_map *map);
|
|
|
|
#endif
|