[sync] resize updated

This commit is contained in:
tmshv committed 2016-12-03 09:57:52 +03:00
1 parent 4034df5c2d
commit 90e8918e4c
1 file changed
+5 -2
+5 -2
View File
@@ -91,5 +91,8 @@ def image_magick_resize(ifile, ofile, size, quality=85):
def image_magick_pdf_to_img(input_file, output_file):
i = "{image}[0]".format(image=input_file)
call(['convert', i, output_file])
call([
'/usr/local/bin/convert',
'{image}[0]'.format(image=input_file),
output_file
])