On Fri, 07 Mar 2003 18:01:47 +0100 (CET)
"Fabien - Team ( Syl,Alex,Seb)" <[EMAIL PROTECTED]> wrote:

> > Pour un �cran X:
> > $ xwd -root -silent -display <nom>:0 > fic.xwd
> > 
> > Pour un �cran console:
> > screendump ou tout simplement
> > # cat /dev/vcs4 > ecran_tty4.txt
> > (en notant que dans ce cas, il faut mettre de linefeed tous les 80
> > caract�res apr�s).
> > 
> > Fran�ois Boisson
> 
> 
> Super !! merci beaucoup
> 
> Et euh ...$ xwd -root -silent -display <nom>:0 > fic.xwd
> 
> POur <nom> je met koi ? j'ai essay� 0:0 mais �a marche pas..

Soit le nom de la machine, soit rien: par exemple
portable:/home/francois# cd /tmp
portable:/tmp# xwd -root -display :0 > toto.xwd
portable:/tmp# xv toto.xwd
toto.xwd is a 1024x768 XWD image in 16 bit ZPixmap format
Unsupported visual type, sorry
portable:/tmp# convert toto.xwd toto.jpeg
portable:/tmp# xv toto.jpeg
toto.jpeg is a 1024x768 JPEG image, color space YCbCr, 3 comps, Huffman
coding.  Building XImage...done
portable:/tmp#


> 
> Sinon le screenchoot console c� terrible mais existe til une possiblit�
> pour vraiment faire un jpg et non un txt..
> 
> Par exemple je voudrai bien faire des screenchot de l'install debian
> pour un howto...

convert (paquet imagemagick) est ton ami: exemple

[EMAIL PROTECTED]:~$ echo "Salut toto" > toto.txt
[EMAIL PROTECTED]:~$ convert toto.txt toto.jpeg
[EMAIL PROTECTED]:~$ xv toto.jpeg
toto.jpeg is a 612x792 JPEG image, color space YCbCr, 3 comps, Huffman
coding.  Building XImage...done
[EMAIL PROTECTED]:~$

Malheureusement, dans ce dernier cas, c'est juste une conversion mais �a
marche bien et tu retrouves un �cran fid�le aux fontes de caract�res pr�s.


Fran�ois Boisson

Répondre à