ColorizeNumber 1.10.0

dotnet add package ColorizeNumber --version 1.10.0
NuGet\Install-Package ColorizeNumber -Version 1.10.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.10.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ColorizeNumber --version 1.10.0
#r "nuget: ColorizeNumber, 1.10.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.10.0

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

ColorizeNumber

ColorizeNumber ColorizeNumber License

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

SocialPreview

Download on NuGet gallery

Description

ColorizeNumber - Bodrum Papatya helps you to visualize numeric data.

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)

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.10.0 75 4/28/2024
1.9.0 91 4/11/2024
1.8.0 91 3/15/2024
1.7.0 86 2/26/2024
1.6.0 126 1/16/2024
1.5.0 178 11/27/2023
1.4.1 99 11/6/2023
1.4.0 105 11/1/2023

v1.10.0
     * ColorizeFuncByMagenta, ColorizeFuncByCyan and ColorizeFuncByYellow colorize functions added to be used for CreateFrameFromData(string numericText, int width, int height, FuncXbyte, RGBColor=""X colorizeFunction) method.
     * CreateBitmap(Frame frame) method now check frame's width and height with length of colorList length on frame.

     See changelog https://github.com/meokullu/ColorizeNumber/blob/master/CHANGELOG.md