Re: Making several images from frame buffers

New Message Reply Date view Thread view Subject view Author view

From: Jorge Valencia Loera (valencia_jorge++at++hotmail.com)
Date: 02/02/2000 07:04:01


From the man page:

NAME
     scrsave - save a part of the screen in an image file

SYNOPSIS
     /usr/sbin/scrsave outimage.rgb [x1 x2 y1 y2] -b

DESCRIPTION
     scrsave saves a portion of the screen into either an RGB or a Black and
     White image file. scrsave with no other arguments than the output
     filename will save the contents of the entire screen to an IRIS image
     file. By giving additional arguments a smaller region of the screen
can
     be saved. scrsave dump.rgb 0 99 0 99 saves a 100 pixel by 100 pixel
     square in the lower left hand corner of the screen.

     When invoked, the -b option will save the screen data as a Black and
     White (1 byte per pixel deep) image rather than as an RGB (3 bytes per
     pixel deep) image.

SEE ALSO
     snapshot(6D)

>Hello
>
>I would like to know, how I can grap an image from the frame buffer in
>a multi channel environment.
>
>I am using pfuSaveImage and I have looked at the source in
>/usr/share/Performer/src/lib/libpfutil/snapwin.c
>but I didn't get any further.
>
>I would like to grap an image for each of the channels.
>If I have four channels, then I would like to save four images,
>each showing whats in the specific channel.
>
>Is this possible ?
>If so how could I do it?
>Does anybody have any small working examples?
>
>--
>Bo Sixten Staahle
>mailto:c960355++at++student.dtu.dk,
>mailto:Bo.Sixten.Staahle++at++uni-c.dk
>-----------------------------------------------------------------------
>List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Feb 02 2000 - 07:04:13 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.