# HG changeset patch # User Paul Boddie # Date 1444488039 -7200 # Node ID a4c68f7a15ea4dd01f8d94bca48d68ed7ba9bb6c # Parent 7d63ab284ab8ae3019392227a8e4a040dac7516d Fixed half-resolution preview pixel step. diff -r 7d63ab284ab8 -r a4c68f7a15ea optimiser.py --- a/optimiser.py Sat Oct 10 15:25:12 2015 +0200 +++ b/optimiser.py Sat Oct 10 16:40:39 2015 +0200 @@ -307,7 +307,7 @@ step = half_resolution_preview and 2 or 1 for y in range(0, height): - for x in range(0, width): + for x in range(0, width, step): rgb = im.getpixel((x, y)) value = get_value(rgb) im.putpixel((x, y), value)