[fix] be coherent, use -strip at the beginning of the pipeline always
This commit is contained in:
parent
d522b6c25b
commit
c23612e87b
@ -100,7 +100,7 @@ class Image(object):
|
|||||||
shutil.copyfile(source, target)
|
shutil.copyfile(source, target)
|
||||||
print source, "->", target
|
print source, "->", target
|
||||||
else:
|
else:
|
||||||
command = "gm convert %s -auto-orient -strip %s" % (source, target)
|
command = "gm convert %s -strip -auto-orient %s" % (source, target)
|
||||||
print command
|
print command
|
||||||
os.system(command)
|
os.system(command)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user