Is a .NET image completely black?
Given a .NET Image object, ho开发者_Go百科w do I check if it represents a picture that's completely black? (C#)
10x!
Convert your image to a Bitmap and use its GetPixel()
-Method to check the color of the pixel at position x, y. If all pixels are black, the image is black.
精彩评论