dany Posted November 10, 2012 Share Posted November 10, 2012 (edited) Identicon.au3 v0.8A simple UDF to create identicons or visual representations of any hash value. Based on Don Park's original Identicon program.Main features:3x3 and 4x4 grid patterns.Aside from rotational symmetry there are also checkerboard and Space Invader (mirror symmetry) patterns.Adapted to handle hashes up to SHA512.Save as PNG, JPG, GIF or BMP identicons.Alpha-transparency support for PNG.The UDF and a demo:Identicon.au3Identicon-Demo.au3Version 0.8: * Initial public release.To do:* In the checkerboard pattern there is a bias for diamond shapes. * Improve image saving, BMP, GIF and JPG suck, much artifacts and dithering. * Transparency doesn't work with GIF (and BMP?) due to the wrong Bitmap format. * Add some more unique sprite shapes and preferably cap the shape arrays at powers of two as BitAND is faster than a modulus operation. Edited November 10, 2012 by dany JScript and Wiliat87 2 [center]Spiderskank Spiderskank[/center]GetOpt Parse command line options UDF | AU3Text Program internationalization UDF | Identicon visual hash UDF Link to comment Share on other sites More sharing options...
JScript Posted November 10, 2012 Share Posted November 10, 2012 Hello! I particularly liked a lot, but show us some more usage examples! About transparency in BMP, I think only with a solid background color or alpha channel. Thanks for sharing. JS http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
dany Posted November 11, 2012 Author Share Posted November 11, 2012 Hello!I particularly liked a lot, but show us some more usage examples!About transparency in BMP, I think only with a solid background color or alpha channel.Thanks for sharing.JSSure, but what kind of examples are you thinking of? I could come up with some quick and dirty visual checksum compare demo (row 2 in the current demo), if that's what you mean.About transparency well... The BMP is transparent when set as a GUI icon but not when opened in an external image editor. Either way, I've found some stuff here on the forum already on BMP and GIF transparency. Now I'll just have to figure out how to integrate it all without creating some code/maintenance hell. [center]Spiderskank Spiderskank[/center]GetOpt Parse command line options UDF | AU3Text Program internationalization UDF | Identicon visual hash UDF Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now