API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsImages
Png
PngEncoder.h
1
// PngEncoder.h
3
//
5
6
namespace
nkImages
7
{
13
class
PngEncoder
final
14
{
15
public :
16
17
// Decompression
25
static
bool
canDecode
(
nkMemory::BufferView<unsigned char>
data) ;
43
static
Image
decode
(
nkMemory::BufferView<unsigned char>
data,
const
AlignmentDescriptor
& alignmentDescriptor =
AlignmentDescriptor
()) ;
44
} ;
45
}
nkMemory::BufferView< unsigned char >
nkImages::PngEncoder::canDecode
static bool canDecode(nkMemory::BufferView< unsigned char > data)
nkImages::AlignmentDescriptor
Holds information about alignment constraints.
Definition:
AlignmentDescriptor.h:12
nkImages
Encompasses all API of component NilkinsImages.
Definition:
BmpEncoder.h:7
nkImages::PngEncoder::decode
static Image decode(nkMemory::BufferView< unsigned char > data, const AlignmentDescriptor &alignmentDescriptor=AlignmentDescriptor())
nkImages::PngEncoder
Offers capabilities to decode the PNG format.
Definition:
PngEncoder.h:14
nkImages::Image
Holds all information required for an image, with ownership over the data.
Definition:
Image.h:14
Generated by
Doxygen
1.8.18