Quellcode durchsuchen

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

Ryan C. Thompson vor 5 Jahren
Ursprung
Commit
aad24141ca
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Snakefile

+ 1 - 1
Snakefile

@@ -213,7 +213,7 @@ rule png_crop:
     '''Crop away empty margins from a PNG.'''
     input: 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:
     input: 'graphics/{filename}.svg'