Detect average pixel brightness of an image / pixmap?
BlitzMax Forums/BlitzMax Programming/Detect average pixel brightness of an image / pixmap?
| ||
Hi everyone, I need to detect the average brightness of images such as these: Light ![]() Dark ![]() Is there a fast / non-realtime method to do so? Grisu P.S. There used to be a function for this on the forums / archives, but I can't find it. :/ |
| ||
https://www.blitzbasic.com/Community/posts.php?topic=87307 in this link (not tested the source code) they speak of darkness/brightness edit: sure they are not in real-time edit2: or maybe try FreeImage modules from Brucey... it should have some method inside |