• # Re: page perso

    Posté par . En réponse au journal page perso. Évalué à 3.

    commande="gimp -i -b '(begin (set! theImage (car (gimp-file-load 1 \"1ドル\" \"1ドル\"))) (gimp-image-scale theImage 2ドル 3ドル ) (file-jpeg-save 1 theImage (car (gimp-image-active-drawable theImage)) \"4ドル\" \"4ドル\" 1 0 0 0 \"pouet\" 0 1 0 1) (gimp-quit 0) )'"
    echo $commande > shell.sh
    source shell.sh
    rm shell.sh


    ces 4 lignes ne peuvent pas etre emplacées par la suivante ?

    gimp -i -b '(begin (set! theImage (car (gimp-file-load 1 "'1ドル'" "'1ドル'"))) (gimp-image-scale theImage '2ドル' '3ドル' ) (file-jpeg-save 1 theImage (car (gimp-image-active-drawable theImage)) "'4ドル'" "'4ドル'" 1 0 0 0 "pouet" 0 1 0 1) (gimp-quit 0) )'

    Ca evite en plus d'effacer un enventuel shell.sh