ColorizeNumber 1.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ColorizeNumber --version 1.5.0                
NuGet\Install-Package ColorizeNumber -Version 1.5.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.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ColorizeNumber --version 1.5.0                
#r "nuget: ColorizeNumber, 1.5.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.5.0

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

ColorizeNumber

ColorizeNumber ColorizeNumber License

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

Download on NuGet gallery

Description

ColorizeNumber - Bodrum Papatya helps you to visualize numeric data.

Example Usage

private void 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);

  // Alternative saving, alpha version. It automatically saves bitmap with named as datetime in folder named "Data" https://www.nuget.org/packages/EasySaver.BitmapFile/
  // Save(Bitmap bitmap)
  // SaveToFolder(Bitmap bitmap)
}

Build your own colorize function.

private static 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);
  }
}

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 was computed.  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 111 9/25/2024
1.13.0 120 9/20/2024
1.12.1 128 9/1/2024
1.12.0 107 6/4/2024
1.11.0 90 5/3/2024
1.10.0 114 4/28/2024
1.9.0 128 4/11/2024
1.8.0 123 3/15/2024
1.7.0 119 2/26/2024
1.6.0 163 1/16/2024
1.5.0 215 11/27/2023
1.4.1 135 11/6/2023
1.4.0 140 11/1/2023

v1.5.0
     * Obsolote method and constructor are removed (`CreateBitmap(Frame frame, int width, int height)` and `Frame(int resolution)`)
     See changelog https://github.com/meokullu/ColorizeNumber/blob/master/CHANGELOG.md