8 lines
136 B
C
8 lines
136 B
C
|
#include <gint/image.h>
|
||
|
|
||
|
int image_palette_size(image_t const *img)
|
||
|
{
|
||
|
return (img->color_count >= 0) ? img->color_count* 2 : -1;
|
||
|
}
|
||
|
|