Przeglądaj źródła

Use "convert" command instead of "magick" for Ubuntu

Ryan C. Thompson 5 lat temu
rodzic
commit
aad24141ca
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Snakefile

+ 1 - 1
Snakefile

@@ -213,7 +213,7 @@ rule png_crop:
     '''Crop away empty margins from a PNG.'''
     '''Crop away empty margins from a PNG.'''
     input: pdf = 'graphics/{basename,.*(?!CROP).*}.png'
     input: pdf = 'graphics/{basename,.*(?!CROP).*}.png'
     output: pdf = 'graphics/{basename}-CROP.png'
     output: pdf = 'graphics/{basename}-CROP.png'
-    shell: 'magick {input:q} -trim {output:q}'
+    shell: 'convert {input:q} -trim {output:q}'
 
 
 rule svg_to_pdf:
 rule svg_to_pdf:
     input: 'graphics/{filename}.svg'
     input: 'graphics/{filename}.svg'