Ticket #3476 (closed enhancement: fixed)
GTiffRGBABand implementation could be substantially optimized.
| Reported by: | warmerdam | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.0 |
| Component: | GDAL_Raster | Version: | unspecified |
| Severity: | normal | Keywords: | GTiff |
| Cc: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
