IronDrawing Features
AnyBitmap
Generating AnyBitmap
- Generate AnyBitmap from multiple source such as:
- File path
- Bytes
- Memory stream
- URI
- SVG
Bitmap to Stream
- Converting image files from file directory to a memory stream
- Get stream of an AnyBitmap file
Bitmap to String
- Converting image file into string
Casting to AnyBitmap
- Files from other platforms can be casted to AnyBitmap. Platforms supported are as follows:
System.Drawing.BitmapSystem.Drawing.ImageSkiaSharp.SKBitmapSkiaSharp.SKImageSixLabors.ImageSharp- MAUI Image
Export AnyBitmap
- Export
AnyBitmapto other file formats with ability to control loss. Image format supported:- bmp
- gif
- png
- jpeg
- tiff
- webp
- wbmp
- wmf
- Icon
Read Bytes from AnyBitmap
- Read bytes fed to IronDrawing and export to image file.
AnyBitmap Cloning
- Generate and save exact copy of
AnyBitmapwithout modifying originalAnyBitmap - Generate and save a copy of certain parts of an
AnyBitmapwithout modifying originalAnyBitmap
Create Multipage TIFF and GIFF image
- Generate and save a multipage TIFF and GIF file from frames with different dimensions
Get Frame from AnyBitmap
- Capture and save all or specific frame of
AnyBitmapsuch as multipage GIF or TIF file.
Get Number of Frames in AnyBitmap
- Capture number of frames from
AnyBitmapfile such as multipage GIF or TIF file.
Color
A universally-compatible Color class.
Create Color
- Create color from:
- Hexadecimal value
- ARGB value
- Colors available
- Color casting
- Cast color from
System.Drawing.ColortoIronSoftware.Drawing.Colorand other platforms.
- Cast color from
Convert Color
- Convert color to 32-bit ARGB value
Get Color Depth
- Analyze quality of an image by looking at the color depth of the image fed into IronDrawing.
Rectangle
A universally compatible Rectangle class.
Rectangle & RectangleF
- Instantiate
IronSoftware.Drawing.RectangleandIronSoftware.Drawing.RectangleF
Create and cast Rectangle
- Create an
IronSoftware.Drawing.Rectangle - Cast a
System.Drawing.RectangletoIronSoftware.Drawing.Rectangle.
Convert Rectangle Measurement
- Convert
Rectanglemeasurement from pixels(px) to millimeter(mm) or vice versa.
Font
A universally compatible Font class.
Create and Cast Fonts
- Create IronDrawing fonts with options to choose and control font family, font style, and font size.
- Casting a
System.Drawing.FonttoIronSoftware.Drawing.Fontand other platforms.