> I'd like manage some images with a form, so i need to display them
> somewhere.
> Is it possible to display an bitmap image .bmp (not x11 bitmap .xbm !),
> or even .gif or .jpg, in a form created with fdesign (something like
> demo33.c), or do i have to launch an external viewer like xv ou
> ImageMagick?
You can convert it and display it at as a pixmap. I believe xpm
is not the format of choice for large images, but I have have used
pixmaps of 320x200 with no hassle.
ie, something like:
img_pxm = fl_add_pixmap(FL_NORMAL_PIXMAP,dx,dy,320,200,"My image:");
fl_set_pixmap_data(img_pxm, MyPixmap);
> If it's possible, do anybody knows where I can find some pieces of code
> to do that?
try http://www.uio.no/~hpv/xew.html
Regards
-- Hans Peter Verne ( hpv@kjemi.uio.no ) Phone: (+47) 22 85 54 14 Dept. of Chemistry, University of Oslo. Fax: (+47) 22 85 54 41`It would seem that you have no useful skill or talent whatsoever, have you thought of going into teaching?' -- Terry Pratchett, "Mort" _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/