AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.04.11 12:49 "[Tiff] DC to tiff", by
2007.04.11 12:49 "[Tiff] DC to tiff", by
2007.04.11 13:05 "Re: [Tiff] DC to tiff", by Chris Losinger
2007.04.11 13:26 "Re: [Tiff] DC to tiff", by Joris
2007.04.11 13:29 "Re: [Tiff] DC to tiff", by Joris
2007.05.31 21:02 "[Tiff] question about TIFFWriteScanline", by
2007.06.01 09:05 "Re: [Tiff] question about TIFFWriteScanline", by Joris

2007.04.11 13:29 "Re: [Tiff] DC to tiff", by Joris

Joris wrote:
> src_pos=(UINT8*)psrc+(((height-row-1)*width*3+3)&(~3));

Oops... I meant to say

src_pos=(UINT8*)psrc+(height-row-1)*((width*3+3)&(~3));

Best regards,

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html