Explorar el Código

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

Ryan C. Thompson hace 5 años
padre
commit
aad24141ca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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'