
Thread
2006.01.25 09:20 "[Tiff] Is TIFFWriteEncodedStrip function slow?", by michael Dorrian
I am trying to improve performance in my program. I can write out all my image data once using TIFFWriteEncodedStrip and because i only use this once i thought it should be faster than this:
for(row
= 0;row < height;height++){
read
one line raw data
using
TiffWriteScanline write one line of raw data}
but i tested it and writing all bytes only once is actually slower. I thought the function call overhead alone would make the above much slower but it doesn't seem to be. Therefore i conclude
that TIFFWriteEncodedStrip function must be very slow. Is this a correct assumption?. Maybe something else is wrong in my code if writing all bytes once should be much faster. I need your
opinions.........
---------------------------------
Do you Yahoo!?
With a free 1 GB, there's more in store with Yahoo! Mail.