问题描述
我想在我的AIR应用程序打开一个16位TIFF图像。我所发现的是一个基准去codeR仅支持8位的图像。这里是我的选择:
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:
-
扩展它的功能,打开16位图像,但我不知道该怎么做这一点,多么微不足道它。
Extend its functionality to open 16bit images but I dont know how to dothat and how trivial it is.
打开我的图片为8位,但我需要Flex内做到这一点自动。不知道该怎么做,要么。
Open my images as 8 bit but I need todo that automatically within Flex.Dont know how to do that either.
我还需要支持LZWCOM pression为TIFF,所以请参考我一些资源,这样我就可以开发出在犯规已经存在的情况下它。
i also need to support lzwcompression for tiff, so please refer me someresources so I can develop that incase it doesnt exist already.
这是有点急。希望一些帮助。
This is kinda urgent. Hoping for some help.
推荐答案
Flash播放器,因此Flex的,都在支持的图像格式的限制。我以为那只是GIF,JPG和PNG实际。
Flash Player, and therefore Flex, are limited in the supported image formats. I thought it was just gif, jpg, and png actually.
要处理其它的格式,我建议检查出的它利用炼金术的转换C code转换的ActionScript SWC。 TIF文件被列为支持,我认为TIF和TIFF是相同的。
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.
这篇关于16位TIFF德codeR的柔性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!