add contrast/brightness filter and undo image