canvas the solution?

Werner Amshoff (
Mon, 31 Mar 1997 11:22:15 +0200

To subscribers of the xforms list from Werner Amshoff <> :

Hi all

I had to view a JPEG-picture with xforms.
First try is to build a application with xforms and after
showing the forms make an XPutImage(the pict is converted by a
This works, but i think there must be a better way to do that.

Now i think about a canvas to display the pict, is this a better way?

Does anybody know a routine to display directly a jpg-pict, or if there
is no direct way perhaps someone can show me how to view a pict, from
which i know the dimension and the rgb-value of each pixel. So i had to
set each pixel.

At the moment i work with xforms0.86 under linux
Thanks in advance for any help

Werner Amshoff     (LFA Uni-Wuppertal)
Tel.: +49 0202 439-3330 
To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: