Added optional image filter.