Re: XForms: flimage problem

From: Jens Thoms Toerring (Jens.Toerring@physik.fu-berlin.de)
Date: Wed Mar 06 2002 - 17:50:57 EST


# To subscribers of the xforms list from Jens Thoms Toerring <Jens.Toerring@physik.fu-berlin.de> :

On Wed, Mar 06, 2002 at 01:59:21PM -0800, spl@ncmir.ucsd.edu wrote:
> > I am trying to dump a pixmap to a file. I found the flimage stuff and
> > it looks (more or less) exactly like what I need. Unfortunately, I am
> > obviously too stupid to understand the manual. ...
>
> What you are doing appears to be correct and in a test I confirmed
> that the functions work as advertised.

That's good news, thanks a lot.

> It is possible that the core dump is being caused by some memory
> problem elsewhere in your code

At least I hope it doesn't but one never knows... Probably would be a
bit easier to debug if we had the source ;-)

> or that you're feeding flimage_getmem() improper dimensions.

I won't deny this unless I have checked it again.

> You can check the dimensions of a pixmap using XGetGeometry():

I'll do this and post the result. Thanks for taking the time to help
me with this.
                                    Best regards, Jens

-- 
      _  _____  _____
     | ||_   _||_   _|        Jens.Toerring@physik.fu-berlin.de
  _  | |  | |    | |          AG Moebius, Institut fuer Molekuelphysik
 | |_| |  | |    | |          Fachbereich Physik, Freie Universitaet Berlin
  \___/ens|_|homs|_|oerring   Tel: ++49 (0)30 838 - 53394 / FAX: - 56046
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil   or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:15 EDT