MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / renderImage

Method renderImage

sources/hyperimage/HyperImage.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60Image<ColorRgb> HyperImage::renderImage() const
61{
62 Image<ColorRgb> ret(this->width(), this->height());
63 memcpy(ret.rawMem(), _surface.rawMem(), 3ll * width() * height() );
64 return ret;
65}
66
67void HyperImage::resize(int sizeX, int sizeY)
68{

Callers 1

imageShowMethod · 0.80

Calls 3

widthMethod · 0.95
heightMethod · 0.95
rawMemMethod · 0.45

Tested by

no test coverage detected