2007年7月26日 星期四

mark end of tiff file

take time to write a simple program that will chech whether RowsPerStrip or StripByteCounts is 0.
If value of any of these two tags is 0, then mark end-of-tiff before this page, and adjust the number of total pages also.

This program can handle Big-Endian tiff file also. Just for fun.
But I think Dialogic cards will generate Little-Endia tiff file only. (At least for my test).

沒有留言: