|
|
@ -89,11 +89,9 @@ namespace SixLabors.ImageSharp.Formats.Png |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <typeparam name="TPixel">The type of the pixel.</typeparam>
|
|
|
/// <typeparam name="TPixel">The type of the pixel.</typeparam>
|
|
|
/// <param name="options">The options.</param>
|
|
|
/// <param name="options">The options.</param>
|
|
|
/// <param name="image">The image.</param>
|
|
|
|
|
|
/// <param name="quantizedFrame">The quantized frame.</param>
|
|
|
/// <param name="quantizedFrame">The quantized frame.</param>
|
|
|
public static byte CalculateBitDepth<TPixel>( |
|
|
public static byte CalculateBitDepth<TPixel>( |
|
|
PngEncoderOptions options, |
|
|
PngEncoderOptions options, |
|
|
Image<TPixel> image, |
|
|
|
|
|
IndexedImageFrame<TPixel> quantizedFrame) |
|
|
IndexedImageFrame<TPixel> quantizedFrame) |
|
|
where TPixel : unmanaged, IPixel<TPixel> |
|
|
where TPixel : unmanaged, IPixel<TPixel> |
|
|
{ |
|
|
{ |
|
|
|