I have been playing with the image support in the new test release of
XForms and so far I am very impressed (it is easy to use and seems
fast).
Just a few questions/points:
1. I noticed some strange behaviour when trying to read ppm images:
I get a segmentation fault if I call
flimage_load("test.ppm");
straight off, but it works correctly if either
flimage_enable_pnm();
or
flimage_is_supported("test.ppm")
is called first. I thought from the manual that ppm/pgm/pbm formats
should be enabled by default?
2. I couldn't get the PGM greyscale format to work at all, either for
read or write. Is this implemented yet?
3. When using 8-bit greyscale images, must my 8-bit data be copied
into the unsigned short **gray array or is there a byte grayscale
array available somehow?
4. Why does flimage_getmem() not appear in the header file forms.h?
(It links OK though).
Thanks,
Andrew Davison
Electrotechnical Laboratory
Tsukuba, Japan
_________________________________________________
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/