Commandline tools to do some trival operation on image