diff options
| -rw-r--r-- | crop-thirds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crop-thirds.py b/crop-thirds.py index d8fc0b4..12e3dc3 100644 --- a/crop-thirds.py +++ b/crop-thirds.py @@ -49,7 +49,7 @@ if not opt.no_clobber: rmtree(out_path) for i in range(opt.count): - x = int(i / opt.count * dst_width) - margin + x = int(i / opt.count * src_width) - margin w = x + crop_width + margin + margin if w > src_width: w = src_width |
