ColorizeNumber 1.7.0
See the version list below for details.
dotnet add package ColorizeNumber --version 1.7.0
NuGet\Install-Package ColorizeNumber -Version 1.7.0
<PackageReference Include="ColorizeNumber" Version="1.7.0" />
paket add ColorizeNumber --version 1.7.0
#r "nuget: ColorizeNumber, 1.7.0"
// Install ColorizeNumber as a Cake Addin #addin nuget:?package=ColorizeNumber&version=1.7.0 // Install ColorizeNumber as a Cake Tool #tool nuget:?package=ColorizeNumber&version=1.7.0
ColorizeNumber
ColorizeNumber - Bodrum Papatya is a project to visualize numeric data.
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 method, beta version. It automatically saves bitmap with specified naming format such time, date, datetime and given name under folder with specified name such as "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.
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.7.0
* Added support for net461.
* New RGBColor(Color color) constructor is added.
* New CreateFrameRandomly(int width, int height) method is added.
* New CreateFrameRandomly(RGBColor[] colorList, int width, int height) method is added.
See changelog https://github.com/meokullu/ColorizeNumber/blob/master/CHANGELOG.md