Re: XForms: blitting images

T.C. Zhao (tc_zhao@yahoo.com)
Sat, 17 Apr 1999 06:09:16 -0700 (PDT)

# To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

> I've got a 320x240 image in raw rgb values that I want to display.
> Is
> there anyway to do this directly without first converting it to
> something like a pixmap? ...

If your image is in a standard format, you can use the image
support in xforms to display it:
FL_IMAGE *image = flimage_load("imagefile");
image->display(win, image);

or just make an FL_IMAGE structure if your image is already
in memory.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_________________________________________________
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/