[fix] be coherent, use -strip at the beginning of the pipeline always

This commit is contained in:
Julien Malik 2016-02-17 10:54:44 +01:00
parent d522b6c25b
commit c23612e87b

View File

@ -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)