A grayscale pixel object, based on the facade::png::Sample class.
More...
#include <png.hpp>
|
using | Base = _Base |
| The base type used by this sample.
|
|
static const std::size_t | Bits = _Bits |
| The size, in bits, of this sample.
|
|
static const std::size_t | Max = (1 << Bits) - 1 |
| The maximum value that can be used with this sample.
|
|
template<typename _Base = std::uint8_t, std::size_t _Bits = sizeof(_Base)*8>
class facade::png::GrayscalePixel< _Base, _Bits >
A grayscale pixel object, based on the facade::png::Sample class.
- Template Parameters
-
_Base | The base type that contains the sample value. Can be std::uint8_t or std::uint16_t. |
_Bits | The size, in bits, of the desired sample. Can be 1, 2, 4, 8 or 16. |
- See also
- facade::png::Sample
-
facade::png::GrayscalePixel1Bit
-
facade::png::GrayscalePixel2Bit
-
facade::png::GrayscalePixel4Bit
-
facade::png::GrayscalePixel8Bit
-
facade::png::GrayscalePixel16Bit
◆ GrayscalePixel() [1/3]
template<typename _Base = std::uint8_t, std::size_t _Bits = sizeof(_Base)*8>
◆ GrayscalePixel() [2/3]
template<typename _Base = std::uint8_t, std::size_t _Bits = sizeof(_Base)*8>
◆ GrayscalePixel() [3/3]
template<typename _Base = std::uint8_t, std::size_t _Bits = sizeof(_Base)*8>
The documentation for this class was generated from the following file: