RE: [flexcoders] Photo Viewer Sample App-BMP File Error

2008-01-18 Thread Jim Hayes
I'm pretty sure that flash/flex doesn't have the low level decompressor (if 
thats the right word for bitmaps!) for .bmp, which would make some sense in 
terms of it being largely focussed on internet apps.
Maybe you'd need to write your own, e.g. read the bitmap in as a bytearray and 
get the raw pixel values out of the bits/bytes (they're probably just there to 
read, I don't think bitmaps are compressed, but could be wrong on that).
Personally I wouldn't bother, unless you really made me :)


-Original Message-
From: flexcoders@yahoogroups.com on behalf of tarun chandra
Sent: Fri 18/01/2008 20:41
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Photo Viewer Sample App-BMP File Error
 
Hi

I am trying to use the adobe PhotoViewer sample app and customize it.
Instead of using just jpg files I am trying to pass in .BMP files. But
somehow the .bmp files don't get loaded and I see a broken image. It
works fine for .gif,.png.

Does anyone know the reason for it and maybe a possible solution for it

Thank You,
Tarun



__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__winmail.dat

[flexcoders] Photo Viewer Sample App-BMP File Error

2008-01-18 Thread tarun chandra
Hi

I am trying to use the adobe PhotoViewer sample app and customize it.
Instead of using just jpg files I am trying to pass in .BMP files. But
somehow the .bmp files don't get loaded and I see a broken image. It
works fine for .gif,.png.

Does anyone know the reason for it and maybe a possible solution for it

Thank You,
Tarun