ColorizeNumber 1.14.0
dotnet add package ColorizeNumber --version 1.14.0
NuGet\Install-Package ColorizeNumber -Version 1.14.0
<PackageReference Include="ColorizeNumber" Version="1.14.0" />
paket add ColorizeNumber --version 1.14.0
#r "nuget: ColorizeNumber, 1.14.0"
// 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 - Bodrum Papatya is a project to visualize numeric data.
Description
ColorizeNumber - Bodrum Papatya helps you to visualize numeric data.
How to download
Release: Latest release
.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)
CreateFrameRandomly(int width, int height)
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.
Help
Twitter: Enes Okullu @enesokullu
Product | Versions 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. |
-
.NETFramework 4.6.1
- No dependencies.
-
.NETStandard 2.0
- System.Drawing.Common (>= 7.0.0)
-
net6.0
- System.Drawing.Common (>= 7.0.0)
-
net7.0
- System.Drawing.Common (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
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