IronDrawing Features
AnyBitmap
Generating AnyBitmap
- Generate AnyBitmap from multiple sources such as:
- File path
- Bytes
- Memory stream
- URI
- SVG
Bitmap to Stream
- Convert image files from a file directory to a memory stream.
- Get a stream of an AnyBitmap file.
Bitmap to String
- Convert an image file into a string.
Casting to AnyBitmap
- Files from other platforms can be cast to AnyBitmap. The supported platforms are as follows:
System.Drawing.Bitmap
System.Drawing.Image
SkiaSharp.SKBitmap
SkiaSharp.SKImage
SixLabors.ImageSharp
- MAUI Image
Export AnyBitmap
- Export
AnyBitmap
to other file formats with the ability to control loss. Supported image formats include:- bmp
- gif
- png
- jpeg
- tiff
- webp
- wbmp
- wmf
- Icon
Read Bytes from AnyBitmap
- Read bytes fed to IronDrawing and export them to an image file.
AnyBitmap Cloning
- Generate and save an exact copy of
AnyBitmap
without modifying the originalAnyBitmap
. - Generate and save a copy of certain parts of an
AnyBitmap
without modifying the 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 frames of
AnyBitmap
such as a multipage GIF or TIF file.
Get Number of Frames in AnyBitmap
- Capture the number of frames from
AnyBitmap
files such as multipage GIF or TIF files.
Color
A universally-compatible Color
class.
Create Color
- Create color from:
- Hexadecimal value
- ARGB value
- Available colors
- Color casting
- Cast color from
System.Drawing.Color
toIronSoftware.Drawing.Color
and other platforms.
- Cast color from
Convert Color
- Convert color to a 32-bit ARGB value.
Get Color Depth
- Analyze the quality of an image by examining the color depth of the image fed into IronDrawing.
Rectangle
A universally compatible Rectangle class.
Rectangle & RectangleF
- Instantiate
IronSoftware.Drawing.Rectangle
andIronSoftware.Drawing.RectangleF
.
Create and Cast Rectangle
- Create an
IronSoftware.Drawing.Rectangle
. - Cast a
System.Drawing.Rectangle
toIronSoftware.Drawing.Rectangle
.
Convert Rectangle Measurement
- Convert
Rectangle
measurement from pixels (px) to millimeters (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.
- Cast a
System.Drawing.Font
toIronSoftware.Drawing.Font
and other platforms.