File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,17 @@ public class PixelTypeInfo
1515 /// Initializes a new instance of the <see cref="PixelTypeInfo"/> class.
1616 /// </summary>
1717 /// <param name="bitsPerPixel">Color depth, in number of bits per pixel.</param>
18- /// <param name="alpha">Tthe pixel alpha transparency behavior.</param>
19- public PixelTypeInfo ( int bitsPerPixel , PixelAlphaRepresentation ? alpha = null )
18+ public PixelTypeInfo ( int bitsPerPixel )
19+ {
20+ this . BitsPerPixel = bitsPerPixel ;
21+ }
22+
23+ /// <summary>
24+ /// Initializes a new instance of the <see cref="PixelTypeInfo"/> class.
25+ /// </summary>
26+ /// <param name="bitsPerPixel">Color depth, in number of bits per pixel.</param>
27+ /// <param name="alpha">The pixel alpha transparency behavior.</param>
28+ public PixelTypeInfo ( int bitsPerPixel , PixelAlphaRepresentation alpha )
2029 {
2130 this . BitsPerPixel = bitsPerPixel ;
2231 this . AlphaRepresentation = alpha ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public sealed class ImageFrameMetadata : IDeepCloneable<ImageFrameMetadata>
2020 /// <summary>
2121 /// Initializes a new instance of the <see cref="ImageFrameMetadata"/> class.
2222 /// </summary>
23- internal ImageFrameMetadata ( )
23+ public ImageFrameMetadata ( )
2424 {
2525 }
2626
@@ -55,7 +55,7 @@ internal ImageFrameMetadata(ImageFrameMetadata other)
5555 /// <summary>
5656 /// Gets or sets the XMP profile.
5757 /// </summary>
58- internal byte [ ] XmpProfile { get ; set ; }
58+ public byte [ ] XmpProfile { get ; set ; }
5959
6060 /// <summary>
6161 /// Gets or sets the list of ICC profiles.
You can’t perform that action at this time.
0 commit comments