Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

16 lignes
457 B

#!/bin/bash
rm -f *.png
# monochrome
convert ../../topisto_vert.png -monochrome topisto_tmp1.png
composite -compose copy_opacity ../topisto_mask.png topisto_tmp1.png topisto_tmp2.png
rm -f topisto_tmp?.png
# grayscale
convert ../../topisto_vert.png -type Grayscale topisto_tmp1.png
composite -compose copy_opacity ../topisto_mask.png topisto_tmp1.png topisto_tmp2.png
convert topisto_tmp2.png -negate topisto_grayscale.png
rm -f topisto_tmp?.png
exit 0