diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-01-09 18:29:01 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-01-09 18:29:01 +0100 |
| commit | 455c3fef555b6f556321c2db6a8dc355154666da (patch) | |
| tree | 97d2f17269e63e3d4a3c55de339afb6172070add | |
| parent | 93afd8beafa141f555da54233dd2de3d25109111 (diff) | |
gotta crop
| -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 |
