mirror of
https://github.com/oDinZu/callirhoe.git
synced 2025-02-23 00:02:16 -05:00
test area shown in negative
git-svn-id: https://callirhoe.googlecode.com/svn/trunk@133 81c8bb96-aa45-f2e2-0eef-c4fa4a15c6df
This commit is contained in:
parent
39d9c5d077
commit
25c380c28d
@ -188,7 +188,9 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
if options.test:
|
if options.test:
|
||||||
subprocess.call(['convert', img, '-region', '%dx%d+%d+%d' % (nw,nh,dx,dy),
|
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:
|
if options.test_rect:
|
||||||
print dx, dy, nw, nh
|
print dx, dy, nw, nh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user