the framework for a canvas element image filter