MCPcopy Create free account
hub / github.com/Infiziert90/getnative / main

Function main

getnative/app.py:401–408  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

399parser.add_argument('--stepping', '-steps', dest='steps', type=int, default=1, help='This changes the way getnative will handle resolutions. Example steps=3 [500p, 503p, 506p ...]')
400parser.add_argument('--output-dir', '-dir', dest='dir', type=str, default="", help='Sets the path of the output dir where you want all results to be saved. (/results will always be added as last folder)')
401def main():
402 parser.add_argument(dest='input_file', type=str, help='Absolute or relative path to the input file')
403 parser.add_argument('--use', '-u', default=None, help='Use specified source filter e.g. (lsmas.LWLibavSource)')
404 parser.add_argument('--mode', '-m', dest='mode', type=str, choices=_modes, default=None, help='Choose a predefined mode ["bilinear", "bicubic", "bl-bc", "all"]')
405
406 start = time.time()
407 _getnative()
408 print(f'done in {time.time() - start:.2f}s', file=sys.stderr)

Callers

nothing calls this directly

Calls 1

_getnativeFunction · 0.85

Tested by

no test coverage detected