28 #ifndef _EXRImageCodec_H__
29 #define _EXRImageCodec_H__
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
DataStreamPtr code(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codec specialized in loading OpenEXR high dynamic range images.
String getType() const
Returns the type of the codec as a String.
void codeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
std::pair< MemoryDataStreamPtr, CodecDataPtr > DecodeResult
Result of a decoding; both a decoded data stream and CodecData metadata.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
Codec specialized in images.