anton (staff) wrote:
You can play with cache buffer size. StarBurn does read ahead only for cache size. Is it it?
No, I assume the cache buffer size will determine how much is read in advance, but it cannot be used to stop the reading before the end of the file.
I've looked around and the cache buffer loading and image file reading is controlled internally by your function, so there isn't an opportunity for the calling function to halt it after enough has been read. The internal function will keep reading until the end of the file is reached.
I don't think I've explained myself clearly here, but I've looked around again and am pretty sure you don't have what I need. So I'll truncate the image file myself prior to the call to TAO call.
Thanks,
Colin