2001.12.31 04:15 "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!