virtual Render::MemoryBufferImage* CreateMemoryBufferImage(File* file, const ImageCreateArgs& args, const ImageSize& sz, UInt64 length) = 0;
CreateMemoryBufferImage creates a MemoryBufferImage for storing jpeg image data in a buffer and reading of the data by Decode function.
Parameters |
Description |
File* file |
Pointer to the file from which the image data is read. |
const ImageCreateArgs& args |
The jpeg image arguments. |
const ImageSize& sz |
_nt_ |
UInt64 length |
Number of bytes in the file. |