mirror of
https://github.com/KrisKennaway/ii-pix.git
synced 2024-10-02 15:54:31 +00:00
Tidy
This commit is contained in:
parent
f132f0b84b
commit
ce99d62304
12
convert.py
12
convert.py
@ -19,15 +19,17 @@ import screen as screen_py
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("input", type=str, help="Input file to process")
|
||||
parser.add_argument("output", type=str, help="Output file for ")
|
||||
parser.add_argument("input", type=str, help="Input image file to process.")
|
||||
parser.add_argument("output", type=str, help="Output file for converted "
|
||||
"Apple II image.")
|
||||
parser.add_argument(
|
||||
"--lookahead", type=int, default=6,
|
||||
help=("How many pixels to look ahead to compensate for NTSC colour "
|
||||
"artifacts."))
|
||||
parser.add_argument('--dither', type=str,
|
||||
choices=list(dither_pattern.PATTERNS.keys()),
|
||||
default=dither_pattern.DEFAULT_PATTERN)
|
||||
parser.add_argument(
|
||||
'--dither', type=str, choices=list(dither_pattern.PATTERNS.keys()),
|
||||
default=dither_pattern.DEFAULT_PATTERN,
|
||||
help="Error distribution pattern to apply when dithering.")
|
||||
args = parser.parse_args()
|
||||
|
||||
palette = palette_py.Palette()
|
||||
|
Loading…
Reference in New Issue
Block a user