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
Codes the data in the input stream and saves the result in the output stream.
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
Codes the data in the input chunk and saves the result in the output filename provided.
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.