16 bit tiff decoder for flex

北城余情 提交于 2019-12-14 03:15:21

问题


I am trying to open a 16 bit tiff image in my AIR app. What I have found is a baseline decoder which supports only 8 bit images. Here are my options:

  • Extend its functionality to open 16 bit images but I dont know how to do that and how trivial it is.

    Open my images as 8 bit but I need to do that automatically within Flex. Dont know how to do that either.

  • i also need to support lzw compression for tiff, so please refer me some resources so I can develop that in case it doesnt exist already.

This is kinda urgent. Hoping for some help.


回答1:


Flash Player, and therefore Flex, are limited in the supported image formats. I thought it was just gif, jpg, and png actually.

To deal with other formats, I would suggest checking out this project which made use of Alchemy to convert C code into an ActionScript SWC. tif files are listed as supported and I assume that 'tif' and 'tiff' are the same.



来源:https://stackoverflow.com/questions/3300244/16-bit-tiff-decoder-for-flex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!