Command line tool to filter image