You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: IronSoftware.Drawing/IronSoftware.Drawing.Common/AnyBitmap.cs
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -469,28 +469,28 @@ public static AnyBitmap FromSpan(ReadOnlySpan<byte> span)
469
469
}
470
470
471
471
/// <summary>
472
-
/// Create a new Bitmap from a a Byte Span.
472
+
/// Create a new Bitmap from a a byte span.
473
473
/// </summary>
474
-
/// <param name="span">A Byte Span of image data in any common format.</param>
474
+
/// <param name="span">A byte span of image data in any common format.</param>
475
475
/// <param name="preserveOriginalFormat">Determine whether to load <see cref="SixLabors.ImageSharp.Image"/> as its original pixel format or Rgba32.</param>
/// <param name="bytes">A ByteArray of image data in any common format.</param>
484
+
/// <param name="bytes">A byte array of image data in any common format.</param>
485
485
publicstaticAnyBitmapFromBytes(byte[]bytes)
486
486
{
487
487
returnnewAnyBitmap(bytes,true);
488
488
}
489
489
490
490
/// <summary>
491
-
/// Create a new Bitmap from a a Byte Array.
491
+
/// Create a new Bitmap from a a byte array.
492
492
/// </summary>
493
-
/// <param name="bytes">A ByteArray of image data in any common format.</param>
493
+
/// <param name="bytes">A byte array of image data in any common format.</param>
494
494
/// <param name="preserveOriginalFormat">Determine whether to load <see cref="SixLabors.ImageSharp.Image"/> as its original pixel format or Rgba32.</param>
@@ -555,7 +555,7 @@ public AnyBitmap(ReadOnlySpan<byte> span)
555
555
}
556
556
557
557
/// <summary>
558
-
/// Construct a new Bitmap from binary data (byte span).
558
+
/// Construct a new Bitmap out of binary data with a byte span.
559
559
/// </summary>
560
560
/// <param name="span">A byte span of image data in any common format.</param>
561
561
/// <param name="preserveOriginalFormat">Determine whether to load <see cref="SixLabors.ImageSharp.Image"/> as its original pixel format or Rgba32.</param>
@@ -577,9 +577,9 @@ public AnyBitmap(byte[] bytes)
577
577
}
578
578
579
579
/// <summary>
580
-
/// Construct a new Bitmap from binary data (bytes).
580
+
/// Construct a new Bitmap out of binary data with a byte array.
581
581
/// </summary>
582
-
/// <param name="bytes">A ByteArray of image data in any common format.</param>
582
+
/// <param name="bytes">A byte array of image data in any common format.</param>
583
583
/// <param name="preserveOriginalFormat">Determine whether to load <see cref="SixLabors.ImageSharp.Image"/> as its original pixel format or Rgba32.</param>
584
584
/// <seealso cref="FromBytes(byte[], bool)"/>
585
585
/// <seealso cref="AnyBitmap"/>
@@ -670,7 +670,7 @@ public AnyBitmap(string file, bool preserveOriginalFormat)
670
670
}
671
671
672
672
/// <summary>
673
-
/// Construct a new Bitmap from a Uri
673
+
/// Construct a new Bitmap from a Uri.
674
674
/// </summary>
675
675
/// <param name="uri">The uri of the image.</param>
676
676
/// <seealso cref="FromUriAsync(Uri)"/>
@@ -689,7 +689,7 @@ public AnyBitmap(Uri uri)
689
689
}
690
690
691
691
/// <summary>
692
-
/// Construct a new Bitmap from a Uri
692
+
/// Construct a new Bitmap from a Uri.
693
693
/// </summary>
694
694
/// <param name="uri">The uri of the image.</param>
695
695
/// <param name="preserveOriginalFormat">Determine whether to load <see cref="SixLabors.ImageSharp.Image"/> as its original pixel format or Rgba32.</param>
@@ -709,7 +709,7 @@ public AnyBitmap(Uri uri, bool preserveOriginalFormat)
709
709
}
710
710
711
711
/// <summary>
712
-
/// Construct a new Bitmap from width and height
712
+
/// Construct a new Bitmap from width and height.
713
713
/// </summary>
714
714
/// <param name="width">Width of new AnyBitmap</param>
715
715
/// <param name="height">Height of new AnyBitmap</param>
/// <param name="uri">The uri of the image.</param>
763
763
/// <returns></returns>
@@ -778,7 +778,7 @@ public static async Task<AnyBitmap> FromUriAsync(Uri uri)
778
778
}
779
779
780
780
/// <summary>
781
-
/// Construct a new Bitmap from a Uri
781
+
/// Construct a new Bitmap from a Uri.
782
782
/// </summary>
783
783
/// <param name="uri">The uri of the image.</param>
784
784
/// <param name="preserveOriginalFormat">Determine whether to load <see cref="SixLabors.ImageSharp.Image"/> as its original pixel format or Rgba32.</param>
@@ -823,7 +823,7 @@ public static AnyBitmap FromUri(Uri uri)
823
823
}
824
824
825
825
/// <summary>
826
-
/// Construct a new Bitmap from a Uri
826
+
/// Construct a new Bitmap from a Uri.
827
827
/// </summary>
828
828
/// <param name="uri">The uri of the image.</param>
829
829
/// <param name="preserveOriginalFormat">Determine whether to load <see cref="SixLabors.ImageSharp.Image"/> as its original pixel format or Rgba32.</param>
Copy file name to clipboardExpand all lines: NuGet/IronSoftware.Drawing.nuspec
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ Key library features include:
30
30
IronSoftware.Drawing can be used within C#, VB.NET, F#, ASP.NET projects, MVC, Web Services, Console & Desktop Applications.
31
31
32
32
Supports:
33
+
* .NET 9
33
34
* .NET 8
34
35
* .NET 7
35
36
* .NET 6
@@ -39,9 +40,7 @@ Supports:
39
40
40
41
For general support and technical inquiries, please email us at: [email protected]</description>
41
42
<summary>IronSoftware.System.Drawing is an open-source solution for .NET developers to replace System.Drawing.Common with a universal and flexible library.</summary>
42
-
<releaseNotes>- Updates internal dependencies.
43
-
- Fixes the issue of some images are auto-rotated when loading as AnyBitmap.
44
-
- Adds an option called preserveOriginalFormat to download input image as Rgba32 via AnyBitmap.</releaseNotes>
Copy file name to clipboardExpand all lines: NuGet/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
If you would like to contribute to this open-source project, please visit the public GitHub and open a branch [here](https://github.com/iron-software/IronSoftware.System.Drawing/).
0 commit comments