change filter outputs with writing png