canvas the solution?

Werner Amshoff (amshoff@welfaa.elektro.uni-wuppertal.de)
Mon, 31 Mar 1997 11:22:15 +0200

To subscribers of the xforms list from Werner Amshoff <amshoff@welfaa.elektro.uni-wuppertal.de> :

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
jpeg-lib).
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

-- 
_____________________________________________________________________________ 
Werner Amshoff     (LFA Uni-Wuppertal)
Tel.: +49 0202 439-3330
http://welfad.elektro.uni-wuppertal.de/graphics/Gdsinfo/People/amshoff.html 
_____________________________________________________________________________
_________________________________________________
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/