3 Replies Latest reply on Dec 20, 2009 12:59 AM by flow practice

    how to decode and display jpeg from a bytes stream ?

    flow practice

      Hello.

      I am new to Flex and got stuck on something that I assume has an easy solution.

      I have an RIA application in which I want to display a jpeg image. this image was

      sent on a Web Service message,  as an array of bytes (I just read the jpeg file as

      is and send it to the web application).

      I couldn't figure out a way to decode and display this image at the RIA, using an apropriate component. (Image ?)

      I have seen a few examples where a jpg is loaded from a web server using a url in

      which it's avaliable, but I don't think this is much help to me...

      Your help/example apreciated.