We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553dcc6 commit 20e7fbaCopy full SHA for 20e7fba
src/effects/Mask.cpp
@@ -110,8 +110,8 @@ std::shared_ptr<openshot::Frame> Mask::GetFrame(std::shared_ptr<openshot::Frame>
110
// Get the average luminosity
111
int gray_value = qGray(R, G, B);
112
113
- // Adjust the brightness
114
- gray_value += (255 * brightness_value);
+ // Adjust the brightness
+ gray_value += (255 * brightness_value);
115
116
// Adjust the contrast
117
float factor = (259 * (contrast_value + 255)) / (255 * (259 - contrast_value));
0 commit comments