View Source
Identicon
(Identicon2 v0.1.0)
Identicon
is a module that that helps to convert a sting
into a spacial type of image
Main function that will do the conversion.
@spec build_grid(%Identicon.Image{
color: term(),
grid: term(),
hex: term(),
pixel_map: term()
}) ::
%Identicon.Image{color: term(), grid: term(), hex: term(), pixel_map: term()}
@spec build_pixel_map(%Identicon.Image{
color: term(),
grid: term(),
hex: term(),
pixel_map: term()
}) ::
%Identicon.Image{color: term(), grid: term(), hex: term(), pixel_map: term()}
Main function that will do the conversion.
@spec pick_color(%Identicon.Image{
color: term(),
grid: term(),
hex: term(),
pixel_map: term()
}) ::
%Identicon.Image{color: term(), grid: term(), hex: term(), pixel_map: term()}
@spec string_to_md5(Stream.t()) :: %Identicon.Image{
color: term(),
grid: term(),
hex: [byte()],
pixel_map: term()
}