MCPcopy Create free account
hub / github.com/MrKepzie/Natron / convertToFormat

Method convertToFormat

Engine/ImageConvert.cpp:882–894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

880} // Image::convertToFormatCommon
881
882void
883Image::convertToFormat(const RectI & renderWindow,
884 ViewerColorSpaceEnum srcColorSpace,
885 ViewerColorSpaceEnum dstColorSpace,
886 int channelForAlpha,
887 bool copyBitmap,
888 bool requiresUnpremult,
889 Image* dstImg) const
890{
891 // OpenGL textures are always RGBA anyway
892 assert(getStorageMode() != eStorageModeGLTex);
893 convertToFormatCommon(renderWindow, srcColorSpace, dstColorSpace, channelForAlpha, false, copyBitmap, requiresUnpremult, dstImg);
894} // convertToFormat
895
896void
897Image::convertToFormatAlpha0(const RectI & renderWindow,

Callers 6

renderMethod · 0.80
renderHandlerMethod · 0.80
renderMethod · 0.80
pasteFromMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected