Add support for Cornsweet tonemapping