Crate image_colors [−] [src]
Structs
PixelColor |
A single color within an image, stored in rgb |
Functions
fetch_colors |
Returns a ColorCounts pixel to count vector for a file |
fetch_colors_img |
Returns a ColorCounts pixel to count vector for a image |
print_colors |
Prints colors from ColorCounts vector, options to use color, a delimiter, or print in rgb, not hex. |
sort_colors |
Sorts a ColorCounts type by number of pixels |
Type Definitions
ColorCounts |
Type that associates a PixelColor to how many pixels in image |