# Exemple http://gmic.sourceforge.net/tutorial.shtml # This way of increasing contrast is often called contrast_stretch # appel de la commande par : # gmic -m contrast_stretch.txt image.png -contrast_stretch 15%,85%,-15%,115% #@gmic contrast_stretch : cut_low[%], cut_high[%], normalize_low[%], normalize_high[%] : Stretch contrast of image. contrast_stretch : -e "Stretching contrast of image$?." -v - -repeat @# -c $1,$2 -n $3,$4 -mv[-1] 0 -done -v +