ColorizeNumber 1.14.0

dotnet add package ColorizeNumber --version 1.14.0                
NuGet\Install-Package ColorizeNumber -Version 1.14.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ColorizeNumber" Version="1.14.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ColorizeNumber --version 1.14.0                
#r "nuget: ColorizeNumber, 1.14.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ColorizeNumber as a Cake Addin
#addin nuget:?package=ColorizeNumber&version=1.14.0

// Install ColorizeNumber as a Cake Tool
#tool nuget:?package=ColorizeNumber&version=1.14.0                

ColorizeNumber

ColorizeNumber ColorizeNumber License

ColorizeNumber - Bodrum Papatya is a project to visualize numeric data.

SocialPreview

Description

ColorizeNumber - Bodrum Papatya helps you to visualize numeric data.

How to download

Release: Latest release

Download on NuGet gallery

.NET CLI:

dotnet add package ColorizeNumber

Example Usage

TestColorizeNumber()
{
  // Data - 25 charachters
  string dataText = "1122334455667788990012345";

  // Data to Frame (25 byte length)
  Frame frame = CreateFrameFromData(dataText, 5, 5, colorizeFunction: ColorizeFunc);

  // Frame to Bitmap (5x5)
  Bitmap bitmap = CreateBitmap(frame);

  // Saving bitmap.
  bitmap.Save("./ColorizeNumberTest.bmp", ImageFormat.Bmp);

  // EasySaver.BitmapFile is providing saving methods for bitmap files.
  // It automatically saves bitmap with specified naming formats.
  // https://github.com/meokullu/EasySaver/tree/master/EasySaver.BitmapFile
  // https://www.nuget.org/packages/EasySaver.BitmapFile/
  // Save(Bitmap bitmap)
  // SaveToFolder(Bitmap bitmap)
}
CreateFrameRandomly(int width, int height);
CreateFrameRandomly(int width, int height, RGBColor[] colorList)

2024-02-26-07-53-44-759

CreateFrameRandomly(int width, int height)

2024-02-26-07-54-08-927

Build your own colorize function.

RGBColor MyColorizeFunc(byte number)
{
  if (number < 5) // If number is 0, 1, 2, 3, 4 returns white color.
  {
    return new RGBColor(red: 255, green: 255, blue: 255);
  }
  else // If number is 5, 6, 7, 8, 9 returns black color.
  {
    return new RGBColor(red: 0, green: 0, blue: 0);
  }
}
GetRandomColor();
GetRandomColor(RandomColorLimit limits)

[!TIP] To save reporting result easily, you can use EasySaver.BitmapFile.

dotnet add package EasySaver.BitmapFile

To check listed methods, example of output visit wiki page. ColorizeNumber Wiki

Version History

See Changelog

Task list

  • Create an issue or check task list: Issues

Licence

This repository is licensed under the "MIT" license. See MIT license.

Authors & Contributing

If you'd like to contribute, then contribute. contributing guide.

Contributors

Help

Twitter: Enes Okullu @enesokullu

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.14.0 100 9/25/2024
1.13.0 111 9/20/2024
1.12.1 119 9/1/2024
1.12.0 102 6/4/2024
1.11.0 81 5/3/2024
1.10.0 109 4/28/2024
1.9.0 123 4/11/2024
1.8.0 118 3/15/2024
1.7.0 114 2/26/2024
1.6.0 158 1/16/2024
1.5.0 210 11/27/2023
1.4.1 130 11/6/2023
1.4.0 135 11/1/2023

v1.14.0
* GetRGBColorSimilarityRateBy3D(RGBColor x, RGBColor y) and GetRGBColorSimilarityBy3D(RGBColor x, RGBColor y) method added.
See changelog https://github.com/meokullu/ColorizeNumber/blob/master/CHANGELOG.md