GIF ?


GIF like formats are bitmap oriented files and are produced as a copy of a graphics window.

Before the Version 2.07/20 of PAW:

the program xwpick, available on asis, should be used. It has all kind of options to produce GIF, PICT etc .. . In PAW just do:

 shell xwpick ....

This will invoke xwpick in interactive mode.

To convert the current PAW window into a gif file, the following script (UNIX only) can be used (file xw1):

xwininfo -name 'HIGZ_01 @ hphigz' | grep xwininfo | sed -e 's/^..................../xwpick junk.gif -window/' -e 's/.................
 mv junk.gif $1

in PAW just do:

PAW > shell xw1 test.gif

and the current window will be converted in test.gif.

After the Version 2.07/20 of PAW:

The command PICTURE/PRINT produces a gif file if the file name is file_name.gif.

Example:

PAW > pict/print test.gif

produce the file test.gif from the current graphics window.

This mechanism works only on X11 machines. On NT or Windows one should use the general procedure to capture any active windows:
  1. Select the window to be capture with the mouse.
  2. Press Alt-PrintScreen to copy that window to "clipboard".
  3. Apply "paste" operation under any Windows tool. For example PowerPoint or Microsoft PhotoEditor. Both packages can save files in gif format.

Since the Version 2.08 of PAW:

It is possible to load a GIF image in the background of the graphic window. As explain in the HELP of the command PICT/LOAD.

In a batch HIGZ program:

It is also possible to generate a GIF file inside an HIGZ batch program. A HIGZ graphics window must be open. To Translate the content of this window in a gif file it is enough to do the following procedure call:

       CALL IGGIF(1,W,H,'name.gif','M')
 
Where W and H are the width and heigh of the GIF picture.

Note: The GIF file is created by converting the content of the X11 window. So, as we said before, the HIGZ graphics window is necessary. If the popping up of the HIGZ window on the computer screen is annoying, one can install the VNC server and redirect the HIGZ window to that screen like setenv DISPLAY :1.


Release NotesKnown bugsFAQsContributionsTutorialReference manualDown loadMiscellaneous

Paw.Support@cern.ch