[sync] resize updated
This commit is contained in:
1 parent
4034df5c2d
commit
90e8918e4c
1 file changed
+5
-2
@@ -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
|
||||
])
|
||||
Reference in new issue
Block a user