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

2001.12.31 04:34 "Re: Partial Extraction of a Scanline?", by Peter Montgomery

Bad,

I don't believe that you can read a partial scanline, however, others on the list may correct this. If the image were tiled, you could of course read it a tile at a time and build your own scanline. However, I am curious just how big can your scanline possibly be? An image that is 32,0000 pixels across (mighty big in my opinion) and RGBA would still take up only 128 KB of memory. Certainly this wouldn't take long to allocate at all. Even if the image were 1 million pixels across and RGBA, it would still take only 4 MB of memory. Just how big are these images that allocating a buffer big enough to hold it would take any appreciable amount of time?

Thanks,
PeterM