-
I use C# code below to determine an image is dark or not enough brightness, how to do this with Magick.Net?
|
Beta Was this translation helpful? Give feedback.
Answered by
dlemstra
Jul 18, 2020
Replies: 1 comment 3 replies
-
You could do that like this: using (var image = new MagickImage(_filename))
{
double _calc_brightness = image.Statistics().Composite().Mean;
} |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
dev-ptdi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could do that like this: