add the getBrightness method
Merge pull request #1 from diegofernandes/master

add the getBrightness method