bmp and tiff images aren't supported natively by Flex. It is 
entirely possible to parse the bytes coming from the stream and draw the image 
in code. I should have a descent example out for doing that with bmp this 
month, but probably won't play with rendering TIFF for quite a while. It's a 
considerably more complex format.

----------------------------------------

                                From: "paromitadey" <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2007 3:23 AM
To: [email protected]
Subject: [flexcoders] Can we display *.bmp and *.tiff images at runtime from a 
flex application? 

Hi All,

Need help in displaying *.bmp / *.tiff images at runtime. 

I am working in an application where the user may upload images (jsp) 

in any format (jpg/gif/png/bmp/tif) and I need to display these images 

from an user interface built in Flex with zoom effects. I am getting 

the images as image byte-stream which are returned by a java servelet 

call. I am able to display jpg/gif/png using the standard Image control 

but unable to display the bmp and tiff files. 

Is there any way to display tiff and bmp files? Any control or any 

property of the image control that needs to be configured to allow 

bmp / tiff image display ?

Please help.

Regards,

Paromita

                                                


Reply via email to