2008.08.19 05:17 "[Tiff] Regarding DICONDE and its Specification", by Harsha

2008.08.26 13:14 "Re: [Tiff] creating sparse files......", by Edward Lam

BTW, the following below doesn't compile on my 64-bit gcc 4.1.1 since tdata_t is a (void *). I suspect the code was tested under a fairly old version of libtiff.

static int isallzero (tdata_t buf, tsize_t size)
{
        int i;
        for (i=0;i<size;i++)
                if (buf[i]) return 0;
        return 1;
}

Cheers,

-Edward