IronSoftware.System.Drawing
2022.9.8843
Prefix Reserved
See the version list below for details.
dotnet add package IronSoftware.System.Drawing --version 2022.9.8843
NuGet\Install-Package IronSoftware.System.Drawing -Version 2022.9.8843
<PackageReference Include="IronSoftware.System.Drawing" Version="2022.9.8843" />
paket add IronSoftware.System.Drawing --version 2022.9.8843
#r "nuget: IronSoftware.System.Drawing, 2022.9.8843"
// Install IronSoftware.System.Drawing as a Cake Addin
#addin nuget:?package=IronSoftware.System.Drawing&version=2022.9.8843
// Install IronSoftware.System.Drawing as a Cake Tool
#tool nuget:?package=IronSoftware.System.Drawing&version=2022.9.8843
IronSoftware.Drawing - Image, Color, Rectangle, and Font class for .NET Applications
IronSoftware.Drawing is an open-source library originally developed by Iron Software that helps C# Software Engineers to replace System.Drawing.Common in .NET projects.
Table of Contents
IronSoftware.Drawing Features:
- AnyBitmap: A universally compatible Bitmap class. Implicit casting between
IronSoftware.Drawing.AnyBitmap
and the following supported:System.Drawing.Bitmap
System.Drawing.Image
SkiaSharp.SKBitmap
SkiaSharp.SKImage
SixLabors.ImageSharp
Microsoft.Maui.Graphics.Platform.PlatformImage
- Color: A universally compatible Color class. Implicit casting between
IronSoftware.Drawing.Color
and the following supported:System.Drawing.Color
SkiaSharp.SKColor
SixLabors.ImageSharp.Color
SixLabors.ImageSharp.PixelFormats
- CropRectangle: A universally compatible Rectangle class. Implicit casting between
IronSoftware.Drawing.CropRectangle
and the following supported:System.Drawing.Rectangle
SkiaSharp.SKRect
SkiaSharp.SKRectI
SixLabors.ImageSharp.Rectangle
- Font: A universally compatible Font class. Implicit casting between
IronSoftware.Drawing.Font
and the following supported:System.Drawing.Font
SkiaSharp.SKFont
SixLabors.Fonts.Font
IronSoftware.Drawing has cross platform support compatibility with:
- .NET 7, .NET 6, .NET 5, .NET Core, Standard, and Framework
- Windows, macOS, Linux, Docker, Azure, and AWS
Using IronSoftware.Drawing
Installing the IronSoftware.Drawing NuGet package is quick and easy, please install the package like this:
PM> Install-Package IronSoftware.System.Drawing
Once installed, you can get started by adding using IronSoftware.Drawing;
to the top of your C# code.
AnyBitmap
Code Example
using IronSoftware.Drawing;
// Create a new AnyBitmap object
var bitmap = AnyBitmap.FromFile("FILE_PATH");
bitmap.SaveAs("result.jpg");
var bytes = bitmap.ExportBytes();
var resultExport = new System.IO.MemoryStream();
bimtap.ExportStream(resultExport, AnyBitmap.ImageFormat.Jpeg, 100);
// Casting between System.Drawing.Bitmap and IronSoftware.Drawing.AnyBitmap
System.Drawing.Bitmap image = new System.Drawing.Bitmap("FILE_PATH");
IronSoftware.Drawing.AnyBitmap anyBitmap = image;
anyBitmap.SaveAs("result-from-casting.png");
Color
Code Example
using IronSoftware.Drawing;
// Create a new Color object
Color fromHex = new Color("#191919");
Color fromRgb = new Color(255, 255, 0);
Color fromEnum = Color.Crimson;
// Casting between System.Drawing.Color and IronSoftware.Drawing.Color
System.Drawing.Color drawingColor = System.Drawing.Color.Red;
IronSoftware.Drawing.Color ironColor = drawingColor;
ironColor.A;
ironColor.R;
ironColor.G;
ironColor.B;
// Luminance is a value from 0 (black) to 100 (white) where 50 is the perceptual "middle grey"
IronDrawingColor.GetLuminance();
CropRectangle
Code Example
using IronSoftware.Drawing;
// Create a new CropRectangle object
CropRectangle cropRectangle = new CropRectangle(5, 5, 50, 50);
// Casting between System.Drawing.Rectangle and IronSoftware.Drawing.CropRectangle
System.Drawing.Rectangle rectangle = new System.Drawing.Rectangle(10, 10, 150, 150);
IronSoftware.Drawing.CropRectangle ironRectangle = rectangle;
ironRectangle.X;
ironRectangle.Y;
ironRectangle.Width;
ironRectangle.Height;
Font
Code Example
using IronSoftware.Drawing;
// Create a new Font object
Font font = new Font("Times New Roman", FontStyle.Italic | FontStyle.Bold, 30);
// Casting between System.Drawing.Font and IronSoftware.Drawing.Font
System.Drawing.Font drawingFont = new System.Drawing.Font("Courier New", 30);
IronSoftware.Drawing.Font ironFont = drawingFont;
ironFont.FamilyName;
ironFont.Style;
ironFont.Size;
ironFont.Italic;
ironFont.Bold;
Support Available
For more information about Iron Software please visit our website: https://ironsoftware.com/
For general support and technical inquiries, please email us at: developers@ironsoftware.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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. |
-
.NETFramework 4.6.2
- SixLabors.ImageSharp (>= 2.1.3)
-
.NETStandard 2.0
- SixLabors.ImageSharp.Drawing (>= 1.0.0-beta15)
NuGet packages (19)
Showing the top 5 NuGet packages that depend on IronSoftware.System.Drawing:
Package | Downloads |
---|---|
IronPdf.Slim
IronPDF helps C# Software Engineers to create, edit and extract PDF content in .NET projects. Requires IronPdf.Native.Chrome NuGet package appropriate for your platform. # C# HTML to PDF for .NET 8, .NET 7, .NET 6, .NET 5, Core, Standard, and Framework # Work with PDFs in C# using HTML, MVC, ASPX, and images # Generate, Edit, Read and Secure PDF Documents Generate PDFs with Pixel Perfect Chrome HTML to PDF Rendering: The Iron PDF library takes the frustration out of generating PDF documents by not relying on proprietary APIs. “Html-To-Pdf” renders pixel-perfect PDFs from open standard document types: HTML, JS, CSS, JPG, PNG, GIF, and SVG. In short, it uses the skills that developers already possess. Fully Supports: * .NET 7, .NET 6, .NET 5, Framework, Core, and Standard * Windows, MacOS, Linux, Azure, Docker and AWS For code examples, tutorials and documentation visit https://ironpdf.com/ |
|
IronOcr
IronOCR is an advanced OCR (Optical Character Recognition) library for C# and .NET It provides Tesseract OCR on Mac, Windows, Linux, Azure and Docker for: * .NET Framework 4.6.2 + * .NET Standard 2.0 + * .NET Core 2.0 + * .NET 5 * .NET 6 * .NET 7 * .NET 8 * Mono for MacOS and Linux * Xamarin for MacOS IronOCR reads Text, Barcodes & QR from all major image and PDF formats using the latest Tesseract 5 engine. This library adds OCR functionality to Desktop, Console and Web applications in minutes. IronOCR's Unique Features: * Pure .Net OCR API * All OCR tasks run locally (no SAAS) * 125 languages * Barcode & QR Code reading * Corrects low quality, noisy and distorted scans * Performance tuned above and beyond any other known build of Tesseract OCR. * Reads PDFs * Reads multi-page TIFFs * Can save any OCR Scan to a searchable PDF document or XHTML Data output options include: Plain Text, Barcode Data and an OCR Result class containing paragraphs, lines, words, and characters. Language Support: 125 Languages including Arabic, Chinese, English, Finnish, French, German, Hebrew, Italian, Japanese, Korean, Portuguese, Russian, Spanish... Custom language packs can also be created. Licensing & Support available for commercial deployments. Email: support@ironsoftware.com For code examples, documentation & more visit http://ironsoftware.com/csharp/ocr/ |
|
IronXL.Excel
IronXL allows developers to Read, Generate and Edit Excel (and other Spreadsheet files) in .NET Applications & websites. A fast and natural approach to work with Excel and Other Spreadsheet files in C#. For code samples, docs & more visit https://ironsoftware.com/csharp/excel/ No utilization of Office Excel Interop. Works well with .NET Framework, .NET Core and Azure. All without extra dependancies or the need to install MS Office. Key library features include: * Import Data from XLS/XLSX/CSV/TSV. * Export Work Sheets to XLS/XLSX/CSV/TSV/JSON. * Encrypt and decrypt XLSX/XLSM/XLTX files with passwords. * Work with Spreadsheets as System.Data.DataSet and System.Data.DataTable objects. * Excel Formulas recalculated every time a sheet it edited. * Intuitive Ranges setting with a WorkSheet["A1:B10"] syntax. * Sort Ranges, Columns and Rows. * Style Cells - Font, Size, Background pattern, Border, Alignment and Number formats. IronXL works well in C#, VB.NET, MVC, ASP.NET projects for Websites, Console & Desktop APPs. Works with: - .NET Core 2, 3.1 - .NET 5 - .NET 6 - .NET 7 - .NET 8 - .NET Standard 2 & 3 - .NET Framework 4.7.2 and above - Xamarin, SharePoint, Mono - Azure, AWS, Cloud hosting - Windows, Linux, macOS, Mobile Licensing & Support available for commercial deployments. Find full documentation at: https://ironsoftware.com/csharp/excel/ For support please contact us: support@ironsoftware.com |
|
IronWebScraper
Iron WebScraper is a C# web scraping library, allowing developers to simulate & automate human browsing behavior to extract content, files & images from web applications as native .NET objects. Iron Web Scraper manages politeness & multithreading in the background, leaving a developer’s own application easy to understand & maintain. Iron Web Scraper can be used to migrate content from existing websites as well as build search indexes and monitor website structure & content changes. It's functionality includes: » Read & extract structured content from web pages using html DOM, Javascript, Xpath, jQuery Style CSS Selectors. » Fast multi threading allows hundreds of simultaneous requests. » Politely avoid over stalling remote servers using IP/domain level throttling & optionally respecting robots.txt » Manage multiple identities, DNS, proxies, user agents, request methods, custom headers, cookies & logins. » Data exported from websites becomes native C# objects which can be stored or used immediately. » Exceptions managed in all but the developers own code. Errors and captchas auto retried on failure » Save, pause, resume, autosave scrape jobs. » Built in web cache allows for action replay, crash recovery, and querying existing web scrape data. Change scrape logic on the fly, then replay job without internet traffic. Supports: Framework .NET 4.6.2+, .NET Core 3.1+, .NET Standard 2.0+, .NET 5, .NET 6, .NET 7 and .NET 8 on Windows, Linux, macOS, Mobile, AWS and Azure Licensing & Support available for commercial deployments. For code examples, documentation & more visit http://ironsoftware.com/cshapr/webscraper. For support please email us at support@ironsoftware.com. |
|
Ahsoka.Core
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2024.5.1 | 11,811 | 4/23/2024 |
2024.4.1 | 46,342 | 3/19/2024 |
2024.3.4 | 77,194 | 3/7/2024 |
2024.3.2 | 22,755 | 2/21/2024 |
2024.2.2 | 116,795 | 1/16/2024 |
2024.1.1 | 109,197 | 12/12/2023 |
2023.12.1 | 204,365 | 11/2/2023 |
2023.11.1 | 142,712 | 10/10/2023 |
2023.10.1 | 40,764 | 9/26/2023 |
2023.9.2 | 182,025 | 8/23/2023 |
2023.7.1 | 438,356 | 6/21/2023 |
2023.6.1 | 78,838 | 5/18/2023 |
2023.4.4 | 77,440 | 4/18/2023 |
2023.4.2-prerelease | 4,534 | 3/28/2023 |
2023.3.3 | 879,737 | 3/28/2023 |
2023.3.1 | 71,913 | 3/1/2023 |
2023.2.12 | 192,362 | 2/23/2023 |
2023.2.2 | 39,447 | 2/2/2023 |
2023.1.11379 | 38,258 | 1/6/2023 |
2022.12.11227 | 253,043 | 12/28/2022 |
2022.11.10457 | 155,764 | 11/15/2022 |
2022.10.9851 | 75,919 | 10/18/2022 |
2022.9.8843 | 57,101 | 9/8/2022 |
Support and Compatibility
* Universal compatiblity for .NET 7, .NET 6, .NET 5, and .NET Core
* Support for Windows, macOS, Linux, Azure, AWS, Mobile, iOS, Android, Xamarin, NanoServer, and IIS
All new classes developed to support conversion between: (System.Drawing, SixLabors.ImageSharp, SkiaSharp, and Microsoft.Maui)
* AnyBitmap: A universally compatible Bitmap class
* Color: A universally compatible Color class
* Font: A universally compatible Font class
* CropRectangle: A universally compatible Rectangle class