identicon alternatives and similar packages
Based on the "Images" category.
Alternatively, view identicon alternatives based on common mentions on social networks and blogs.
-
ex_image_info
ExImageInfo is an Elixir library to parse images (binaries) and get the dimensions (size), detected mime-type and overall validity for a set of image formats. It is the fastest and supports multiple formats. -
png
A pure Erlang library for creating PNG images. It can currently create 8 and 16 bit RGB, RGB with alpha, indexed, grayscale and grayscale with alpha images. -
gi
Gi is a library for manipulating Graphics Interfacing. Use utility mogrify, identify, ... of GraphicsMagick to resize, draw on base images....
CodeRabbit: AI Code Reviews for Developers
Do you think we are missing an alternative of identicon or a related project?
README
Identicon
An Elixir library for generating GitHub-like symmetrical 5x5 identicons.
Usage
Just pass a string or char_list
to Identicon.render/1
. You
will get back a Base64 encoded string representing your
identicon image.
image = Identicon.render "Elixir"
# => a1070f60bb1e600..."
You can just keep using this in memory or write to file and decode into an image:
image = Identicon.render "Elixir"
:ok = File.write("Elixir.txt", image)
$ cat Elixir.txt | base64 -D -o elixir.png
Todo
- [ ] Support various size/pixel count/background color identicons
- [x] Make the identicons symmetric like GitHub's (so cool!)
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
Identicon uses the same license as the Elixir programming language. See the license file for more information.
*Note that all licence references and agreements mentioned in the identicon README section above
are relevant to that project's source code only.