Re: XForms: more on formbrowser and image form

From: Yann Guichoux (guichoux@shom.fr)
Date: Thu May 11 2000 - 02:46:49 EDT

  • Next message: Steve Lamont: "Re: XForms: more on formbrowser and image form"

    # To subscribers of the xforms list from Yann Guichoux <guichoux@shom.fr> :

    jprinos@dehavilland.ca wrote:
    >
    > # To subscribers of the xforms list from jprinos@dehavilland.ca :
    >
    > spl@szechuan.ucsd.edu (Steve Lamont) on 05/09/2000 05:41:44 PM
    >
    > Please respond to xforms@bob.usuhs.mil
    >
    > To: xforms@bob.usuhs.mil
    > cc: (bcc: John Prinos/BRAD/Bombardier)
    > Subject: Re: XForms: more on formbrowser and image form
    >
    > # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

    > So I need to somehow translate the image I have stored in the flimage object
    > into a pixmap type. Is this easily done?
    I did it a few weeks ago. I had some problems with color quantization
    while converting flimage type to pixmap type.
    I'm using a trick to make it easier. I first display the image in a
    window and then, i use XCopyArea to grab the displayed image.
    But it doesn't work with image bigger than the window canvas. So...If
    someone has another solution, i will take a great interest in it !
    I made a scrolling pixmap a few month ago. I was using 2 fl_slider, a
    big pixmap (the original Image) and a smaller one to display an area of
    the big Pixmap using XCopyArea()...If you are instered in my dirty
    code...mail me.

    YG
    _________________________________________________
    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 : Thu May 11 2000 - 02:50:28 EDT