Expose brightness and contrast to API. Closes #183.