AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

2000.02.22 17:54 "put Callback", by Eric Dorland

Hello everyone,

I'm trying to write a progressive image loader (loading the image into memory) using libtiff. Now the best way to do this appears to be using the RGBAImage interface and overriding the put callback. Now the thing that the docuemntation doesn't make clear is how often and under what cases will this callback be called? Is it called once for each strip or each tile? The x, y, w and h parameters, are they called with a block only once, or can coordinates from different calls overlap (ie two rectangles are specified by two different calls, can some of there coordinates overlap?) I hope I've made myself clear, and that's for your help :)

Eric Dorland
dorland@lords.com
ICQ: #61138586