GdiExtensions |
Extends Identicon with GDI specific methods.
| |
HashGenerator |
Helper class for generating hashes for any values.
| |
Identicon |
Represents an identicon for a specific hash.
| |
IdenticonRequest |
Holds the information needed to render a requested icon, and supports serializing
to and from String.
| |
IdenticonStyle |
Specifies the color style of an identicon.
| |
PngExtensions |
Extends Identicon with PNG specific methods.
| |
Range |
Provides helper methods for creating RangeTValue values.
| |
RangeConverter |
Converts RangeTValue to String and vice versa.
| |
SvgExtensions |
Extends Identicon with SVG specific methods.
| |
WpfExtensions |
Extends Identicon with WPF specific methods.
|
RangeTValue |
Represents a range between two values.
|
ExportImageFormat |
Specifies the file format of an identicon.
|
Before using Identicon the Jdenticon-net package needs to be added to the project. Use the NuGet Package Manager to add a reference.
PM> Install-Package Jdenticon-net
The following code illustrates how to use Jdenticon to generate an icon from a string and save it as a PNG image. Note that all save operations are implemented as extension methods, which means a using for the Jdenticon namespace is required.
using Jdenticon; // ... Identicon .FromValue("string to hash", size: 160) .SaveAsPng("test.png");