From 25c380c28dbb084847506a37c27a97b1a71ddfe7 Mon Sep 17 00:00:00 2001 From: "geortz@gmail.com" Date: Wed, 24 Sep 2014 12:39:57 +0000 Subject: [PATCH] test area shown in negative git-svn-id: https://callirhoe.googlecode.com/svn/trunk@133 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df --- calmagick.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/calmagick.py b/calmagick.py index 650ccad..cbf04cd 100755 --- a/calmagick.py +++ b/calmagick.py @@ -188,7 +188,9 @@ if __name__ == '__main__': if options.test: subprocess.call(['convert', img, '-region', '%dx%d+%d+%d' % (nw,nh,dx,dy), - '-border', '2', '-bordercolor', 'black', '-border', '1', base+'-0'+ext]) + '-negate', base+'-0'+ext]) +# subprocess.call(['convert', img, '-region', '%dx%d+%d+%d' % (nw,nh,dx,dy), +# '-border', '2', '-bordercolor', 'black', '-border', '1', base+'-0'+ext]) if options.test_rect: print dx, dy, nw, nh