CPng Class
C++
#include "Rx.Codec/Png.h"
class CPng : public IImageCodec
PNG Codec.
Constructors
CPng() | Default constructor. |
Destructor
~CPng() | Destructor. |
Methods
Encode(image, stream) | Encodes the given image into the given stream. |
Encode(pTrgMem, xSrcImg) | Encodes the image pSrcImg and store the encoded data in pTrgMem. Works only with: |
Decode(xTrgImg, pSrcMem) | Decodes the data in pSrcMem and store the decoded image in pTrgImg. Works only with: |
GetCodecName() | Gets the codec name. |
Encode(trgMemory, srcImg) | Encodes the given image and stores the encoded data in the given memory. |
Decode(trgImg, srcMemory) | Decodes the data in the given memory and stores the result in the given image. |
TransparencyTestingEncode(trgMemory, srcImg) | Transparency testing encode. |