GTiffRGBABand implementation could be substantially optimized.
|Reported by:||warmerdam||Owned by:||warmerdam|
The TIFFReadRGBABand implementation of IReadBlock() reads the image as RGBA, extracts one component, and discards the rest. Thus a typical translation via this interface results in reading the image four times. In case of compressed images this might be fairly expensive.
The IReadBlock() interface ought to push the other image components into the block cache to short circuit future reads.
The RGBA interface is fairly rarely used so this is not very high priority.