Hi,
For example: I want show in RTP inverted image. Of course, I must show inverted image with Inverted STF.
I can Invert STF and then apply it to parent View via the code :
// note: static String viewId = RTP view.FullId() set in RequiresRealTimePreviewUpdate
View view = View::ViewById( viewId );
View::stf_container stf;
view.GetScreenTransferFunctions( stf );
for ( int c = 0; c < 4; ++c )
{
float c0 = stf[c]->ShadowsClipping();
float c1 = stf[c]->HighlightsClipping();
float m = stf[c]->MidtonesBalance();
stf[c]->SetClipping( 1 - c1 , 1 - c0 );
stf[c]->SetMidtonesBalance( 1 - m );
}
view.SetScreenTransferFunctions( stf );
That code change parent View STF and RTP STF together.
Question: How to apply STF only to RTP view? Is it possible?
Best regards,
Nikolay.