2006.01.25 23:58 "Re: [Tiff] Is TIFFWriteEncodedStrip function slow?", by Chris Cox
It could be slower, depending on your compression options. Flate compression, for example, can use the larger strip for better compression but it takes longer to do the compression.
Chris
On 1/25/06 1:20 AM, "michael Dorrian" <m_dorrian@yahoo.com> wrote:
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.
> <http://us.rd.yahoo.com/mail_us/taglines/mailstorage/*http://mail.yahoo.com/>