Skip to content

Commit bd4eb34

Browse files
committed
internal constructor to public constructor
1 parent a54a19f commit bd4eb34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ImageSharp/Formats/PixelTypeInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class PixelTypeInfo
1616
/// </summary>
1717
/// <param name="bitsPerPixel">Color depth, in number of bits per pixel.</param>
1818
/// <param name="alpha">Tthe pixel alpha transparency behavior.</param>
19-
internal PixelTypeInfo(int bitsPerPixel, PixelAlphaRepresentation? alpha = null)
19+
public PixelTypeInfo(int bitsPerPixel, PixelAlphaRepresentation? alpha = null)
2020
{
2121
this.BitsPerPixel = bitsPerPixel;
2222
this.AlphaRepresentation = alpha;

src/ImageSharp/Metadata/ImageMetadata.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public sealed class ImageMetadata : IDeepCloneable<ImageMetadata>
3939
/// <summary>
4040
/// Initializes a new instance of the <see cref="ImageMetadata"/> class.
4141
/// </summary>
42-
internal ImageMetadata()
42+
public ImageMetadata()
4343
{
4444
this.horizontalResolution = DefaultHorizontalResolution;
4545
this.verticalResolution = DefaultVerticalResolution;

0 commit comments

Comments
 (0)