views:

534

answers:

3

Is there any way to read a TIFF file under AIR? Looks like Flash doesn't have native support for TIFF format, any libraries out there?

+1  A: 

According to this, TIFF is supported by Adobe Flash Player and Adobe AIR, together with BMP, GIF, JPG, and PNG.

edit: FTA:

The drawback with the TIFF format is that because of the many different varieties of TIFF, there is no single reader that can handle every version. In addition, no web browsers currently support the format.

edit2: It appears that dynamic loading of TIFF is not possible. I couldn't find any third-party library to do so.

Aziz
Thanks for the pointer, but flash.display.Loader throws an exception when trying to open a TIFF file, and the documentation says it only supports JPEG and PNG. Maybe there is some other way?..
Michael Pliskin
You're right, it only supports JPG, PNG, and GIF. I'll try to look for a way to use TIFF ...
Aziz
A: 

Here is an open source encode project, and according the author that decode future has been working on.

Cotton
Thanks, I found this one too - but unfortunately encoding is pretty easy compared to decoding, and I need decoding. Thanks anyway.
Michael Pliskin
+1  A: 

I've found a working decoder (uncompressed files only): http://www.ctyeung.com/AIR/index.html

Matthias Dehmel
Thanks a ton! This might be an option..
Michael Pliskin