AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2001.12.31 04:15 "Partial Extraction of a Scanline?", by Bad Badtz
2001.12.31 04:34 "Re: Partial Extraction of a Scanline?", by Peter Montgomery
2002.01.02 07:02 "Re: Partial Extraction of a Scanline?", by Bad Badtz
2002.01.02 13:09 "Re: Partial Extraction of a Scanline?", by Thomas Deweese
2002.01.03 01:23 "Re: Partial Extraction of a Scanline?", by Bad Badtz
2002.01.02 17:25 "Re: Partial Extraction of a Scanline?", by Peter Montgomery
2002.01.03 05:13 "Re: Partial Extraction of a Scanline?", by Bad Badtz

2002.01.02 07:02 "Re: Partial Extraction of a Scanline?", by Bad Badtz

Hi,

Thanks Peter for responding to my previous mail!

Take for example, I would like to view a part of a striped image with scanline size = 32,000 pixels on a screen 1024 by 768.

Using ReadScanline will return me all 32,000pixels when in fact only 1024 pixels can be seen on screen. The other 30,000+ pixels are rather useless. I was thinking won't it be better if I can just get that 1024 pixels instead of the whole scanline? How should I go about modifying the code to read partial scanline? Please enlighten me!

Thanks!