View Source Bonfire.Files.Image.Edit (bonfire_umbrella v0.9.10-cooperation-beta.62)

Summary

Functions

Link to this function

banner(filename, max_width, max_height)

View Source
Link to this function

dominant_color(file_path_or_binary_or_stream, bins \\ 15, fallback \\ "#FFF8E7")

View Source

Returns 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

image(filename, max_width, max_height)

View Source
Link to this function

image_resize_thumbnail(filename, max_size, waffle_file \\ %Waffle.File{})

View Source
Link to this function

thumbnail(filename, max_size)

View Source