Hi,
I am using XForms Version 0.89 on Linux (glibc2.1) and Digital Unix. The
X-Server on the machines work in Pseudocolor Mode. I found some the
image support doesnt work right in all situation. I found so far the
following things (most tests done with 8 and 16bit grayscale images).
1. The FL_IMAGE field sh und sw doesnt work right in flimage_display.
sh is ignored. sw does clipping in both directions. This was tested with
version glibc2.1 / Sep 27 and Digital Unix 4.x by changing the
ibrowser.c program (insert a image->sh/sw = (float)image->h/w / 2.0 in
load_and_show function and load an image).
2. flimage_display ignores fl_set_clipping window and draws always the
whole image (glibc2.1 / Sep 27).
3. flimage_display has problems with double buffering. I used
flimage_display in a cavanas and the image was always drawn direct to
the screen (also in double buffer mode). Then I wrote an new object an
but flimage_draw in the draw section of my event handler. This works in
non double buffer mode. When i enable double buffer (-double option in
command line), the program terminates with the following XWindows
error:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0x80003d
Serial number of failed request: 812
Current serial number in output stream: 813
(message of glibc2.1 / Sep 27 XForm Libary, similar message on Digital
Unix System).
4. flimage_display writes on screen when form update (fl_form_...) is
disabled.
Here are some informations about my system:
glibc2.1 System: Suse Linux 6.2 (Kernel 2.2.7), Pseudocolos (256, S3
Card, XServer xsvga), XForms 0.89 / Sep 27.
Digital Unix 4.0e: Dec Alpha 21064 CPU, Pseudocolor (256, direct and via
PC X-Server), XForms 0.89.
So what can i do? I would like to help debugging (especially the image
support), which i need for reimplementation of our image processing
tool.
Thanks.
Frank Hartung
-- Dipl. Phys. Frank HartungInstitut fuer Materialphysik der Universitaet Goettingen Hospitalstr. 3-7 D-37073 Goettingen GERMANY
E-Mail: F.Hartung@material.physik.uni-goettingen.de _________________________________________________ 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://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuhs.mil/mailserv/list-archives/