for file in *.jpg; do magick "$file" -resize 50% "resized/$file"; done
for file in *.jpg; do magick "$file" -resize 50% "resized/$file"; done
#!/bin/bash # stamp timbre A_marquer Img_finale # (c) 2007-2010 by C.M. # under the GPL License # prendre deux fichiers d'images # l'un étant un "sceau" et l'autre une photo # et marquer la photo du sceau, en bas à droite (ou gauche) # Image timbre SCEAU="$1" # Image à marquer PIC="$2" # Fichier de sortie OUT_IMAGE="$3" # Proportion du timbre par rapport à l'image SCALE="/ 20" # Texte ajouté sous le timbre TEXTE="" # dimensions de l'image à marquer width_pic=`identify -format %w "$PIC"` height_pic=`identify -format %h "$PIC"` # dimensions du sceau width_sceau=`identify -format %w "$SCEAU"` height_sceau=`identify -format %h "$SCEAU"` # dimensions auxquelles réduire le sceau stamp_w=$(( $width_pic $SCALE * 2)) stamp_h=$(( $height_pic $SCALE))
jhead -purejpg [img.jpg]
jhead is used to display and manipulate data contained in the Exif header of JPEG images from digital cameras. By default, jhead displays the more useful camera settings from the file in a user-friendly for‐ mat. jhead can also be used to manipulate some aspects of the image relating to JPEG and Exif headers, such as changing the internal timestamps, removing the thumbnail, or transferring Exif headers back into edited images after graphical editors deleted the Exif header. jhead can also be used to launch other programs, similar in style to the UNIX find command, but much simpler.
for i in profiles/CMYK_Profiles/* ; do jpegicc -o"$i" test2.jpg test2.cmyk--`basename "$i"`.jpg ; done
jpegicc -oProfile.icc file-In-RGB.jpeg file-Out-CMYK.jpeg