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

Method convertToFormat

Engine/ImageConvert.cpp:883–895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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