View Source Bonfire.Files.Image.Edit (bonfire_umbrella v0.9.10-cooperation-beta.62)
Summary
Functions
Returns the dominant color of an image (given as path, binary, or stream) as HEX value.
Functions
Link to this function
dominant_color(file_path_or_binary_or_stream, bins \\ 15, fallback \\ "#FFF8E7")
View SourceReturns the dominant color of an image (given as path, binary, or stream) as HEX value.
bins
is an integer number of color frequency bins the image is divided into. The default is 10.
Link to this function