An open-source System.Drawing.Common replacement for .NET 5 and above on all platforms. Bringing together System.Drawing, Maui, and ImageSharp's Bitmap, Image, Font, and Shape types via an agnostic free NuGet package.
Other
120
stars
19
forks
source link
Iron 386 replace all system drawing with iron drawing #24
Scan0 to gets the address of the first pixel data of the AnyBitmap object
Stride to gets the stride width (also called scan width) of the AnyBitmap object
MimeType to gets MIMEType of the AnyBitmap object including image/bmp, image/jpeg, image/png, image/gif, image/tiff, image/webp, and image/unknown
GetImageFormat to gets ImageFormat of the AnyBitmap object
HorizontalResolution, and VerticalResolution to gets the resolution of the image in x, y direction
Color
Add override FromArgb(alpha, BaseColor)
Add compare Color including ==, !=, and Equals
Create Color from name
Bug Fixed
AnyBitmap
Fixed loss transparency when convert System.Drawing.Bitmap to AnyBitmap
Fixed loss transparency when convert System.Drawing.Image to AnyBitmap
Fixed loss transparency when convert SixLabors.ImageSharp.Image to AnyBitmap
Features Added
AnyBitmap
Color
Bug Fixed
AnyBitmap