Pour réduire la taille d'un pdf, en utilisant ghostscript :
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=OUT.pdf CV.pdf
Source : http://www.fiat-tux.fr/fr/2010/12/reduire-la-taille-dun-pdf/
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=OUT.pdf CV.pdf
Source : http://www.fiat-tux.fr/fr/2010/12/reduire-la-taille-dun-pdf/
#!/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.
STTY(1) User Commands STTY(1) NAME stty - change and print terminal line settings SYNOPSIS stty [-F DEVICE | --file=DEVICE] [SETTING]... stty [-F DEVICE | --file=DEVICE] [-a|--all] stty [-F DEVICE | --file=DEVICE] [-g|--save] DESCRIPTION Print or change terminal characteristics.
$ stty -a speed 38400 baud; rows 40; columns 80; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?; swtch = M-^?; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts -ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprtDonc en fait "^d" envoie un "eof", pas un sig_quit...
mencoder -vf rotate=1 -ovc lavc -oac copy "$1" -o "$1"-rot.avi