def optipng(ext_args):
    """Run the external program optipng on the file."""
    args = _OPTIPNG_ARGS + [ext_args.new_filename]
    extern.run_ext(args)
    return _PNG_FORMAT
Run the external program optipng on the file.