I don't think Pixel Bender would make sense to help you read in the tiff file, but to do some of the transformations you are talking about it could help, but it depends on how you are planning to code it. You are asking some pretty general questions... If the TIFF part is the most important part, I'd try to google for some AS TIFF libs, I don't know if there are any. As far as the tiling zooming part, there have been some AS-based experiments with that...
I have written a TIFF 6.0 baseline decoder if that is helpful to you.
you may search for it in googlecode or download direct from my site: http://www.ctyeung.com/AIR/index.html
As you know, TIFF is a monster size file format; supports ZIP, LZW, RLE, FAX, JPG compressions and color spaces of RGB, Gray, CMYK, 2 alpha masks YIQ. There is more ... halftone, etc..
Anyway, baseline is just gray, index color and RGB, no compression, interlace and planar pixel order, Motorola and Intel byte order.
All the functionality in baseline has been tested thumbs up in CS4.
I am working on LZW decompression... code is checked into googlecode but needs test and debugging.
Hi C Yueng,Am working with your ImageDEncoder from your websiteMy goal is to open a tif figure using FlashBuilder4 (or Flex 4) in a web program (using SOAP/WSDL from a trusted source),then transcode it and display the image (jpg or png or bmp format is OK).When used with Flex 3.0, the ImageDEncoder program throws this compression errorTypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.ctyeung.TIFF6::CmpLZW/decode()[C:\Documents and Settings\cmgr\My Documents\Flex Builder\ImageDencoder\src\com\ctyeung\TIFF6\CmpLZW.as:150]When ImageDEncoder is ported to FlashBuilder, opening a TIF image displays mostly black lines.Do you have a suggestion and/or a remedy?many thanks,Bruce
It sounds like you have encountered a TIF file with LZW compression.. (?)
I must admit that the decoder is advertised as a "baseline" decoder.
ZIP and LZW classes are work in progress.
Might you have interest in completing it ?
Else, have you consider the alchemy alternative ?