Jdenticon Net Versions Save

.NET library for generating identicons. Running on .NET Core and other .NET Standard compatible platforms.

3.1.2

3 years ago

Bug fix:

  • Hues property was not correctly serialized on IdenticonView by WinForms designer in .NET Core projects.

3.1.1

3 years ago

Bug fix:

  • Icons were not correctly rerendered after resizing an IdenticonView in a Windows Forms application.

3.1.0

3 years ago

Features

  • Added support for SourceLink.
  • Added NuGet symbol packages.
  • Added support for nullable reference types (only for .NET Core).

3.0.0

3 years ago

General

  • Breaking change: Identicon.Draw() now includes padding (previously it was the only method not including padding).
  • Breaking change: Renderer.SetBackground() now requires a parameter for the icon rectangle.
  • Upgraded sharpcompress to version 0.24.0 (only .NET Standard < 1.3).
  • Bug fix: fixed tiny rendering artifacts in circles in large icons (> 400px).

ASP.NET Core

  • Bug fix: fixed IndexOutOfRangeException thrown when serving identicons with the bundled middleware.

WPF

  • Added .NET Core build.
  • Added styling support.
  • Padding specified by identicon style is now included in the rendered icon.
  • Shapes of the same color are now rendered in a single step to avoid ghost lines.
  • Bug fix: IconGenerator property was not used.
  • Bug fix: background was not rendered in the correct location.
  • Known issue: in .NET Core projects, ColorLightness, GrayscaleLightness and Hues cannot be set in the Property Window in Visual Studio designer. You can however set those properties in XAML.

Windows Forms

  • New NuGet package Jdenticon.WinForms containing IdenticonView control. Also supports .NET Core.
  • Known issue: in .NET Core projects, ColorLightness, GrayscaleLightness and Hues cannot be set in the Property Window in Visual Studio designer. You can however set those properties in code behind.

GDI

  • Breaking change: No longer clears the context before rendering the icon. However it will still paint the background color, so if the background color is opaque, there is no change.
  • Shapes of the same color are now rendered in a single step to avoid ghost lines.

2.2.1

5 years ago

Bug fixes:

  • Artifacts were produced when rendering icons with no padding (#4)

2.2.0

5 years ago

Improvements:

  • New package for ASP.NET Core support: Jdenticon.AspNetCore.
  • Added async method overloads to Identicon.
  • Jdenticon.Gdi now runs on .NET Standard 2.0.

Bug fixes:

  • Identicon.SaveAsSvg closed the stream before leaving control to the parent.

2.1.0

6 years ago

Changes:

  • The following methods were deprecated since they don't do what their names say they do:
    • Color.FromArgb (use Color.FromRgba instead)
    • Color.ToArgb (use Color.ToRgba instead)
  • IdenticonStyle.Saturation is now deprecated. Use IdenticonStyle.ColorSaturation instead.

Improvements:

  • New IdenticonStyle options: ColorSaturation, GrayscaleSaturation, Hues.
  • New Identicon.DefaultStyle property.
  • New Color.FromHsl overload accepting an alpha value.
  • New methods Color.Parse and Color.TryParse able to parse most CSS color strings.
  • New methods Color.FromHwb, Color.FromRgba, Color.ToRgba.
  • @Html.Identicon and @Url.Identicon overloads taking an Identicon instance no longer requires a size, since the Identicon instance already contain a size.
  • Improved error handling in @Html and @Url extension methods.

Bug fixes:

  • Some circle shapes were rendered slightly larger than the JS and PHP version.
  • Smaller circles were rendered very badly to PNG in smaller sizes.
  • Padding is now rounded instead of truncated to nearest integer to avoid floating point rounding errors.

2.0.0

6 years ago

Breaking changes:

  • Now licensed under the MIT license. This change was done to simplify using Jdenticon in businesses utilizing list of allowed open source licenses.

Improvements:

  • Improved performance for the PNG icon renderer.

Fixed bugs:

  • Removed small rendering artifact caused by PNG renderer while rendering partially covered pixels.

1.0.2

6 years ago

Bug fixes in PNG generation:

  • Incorrect color of antialiased pixels in custom icons with multiple semitransparent layers.
  • Unhandled exception while rendering custom icons if any polygons were located to the right of the viewport.
  • Cascading overlapped polygons in custom icons caused rendering artifacts.

1.0.1

6 years ago
  • Bug fix: MVC HtmlHelper extension generated invalid HTML markup.