-
-
Notifications
You must be signed in to change notification settings - Fork 853
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #613 from SixLabors/js/16-bit-pngs
Add 16 bit png support
- Loading branch information
Showing
98 changed files
with
3,148 additions
and
672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright (c) Six Labors and contributors. | ||
// Licensed under the Apache License, Version 2.0. | ||
|
||
// Note the value assignment, This will allow us to add 1, 2, and 4 bit encoding when we support it. | ||
namespace SixLabors.ImageSharp.Formats.Png | ||
{ | ||
/// <summary> | ||
/// Provides enumeration for the available PNG bit depths. | ||
/// </summary> | ||
public enum PngBitDepth | ||
{ | ||
/// <summary> | ||
/// 8 bits per sample or per palette index (not per pixel). | ||
/// </summary> | ||
Bit8 = 8, | ||
|
||
/// <summary> | ||
/// 16 bits per sample or per palette index (not per pixel). | ||
/// </summary> | ||
Bit16 = 16 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.