sampleArgb

fun sampleArgb(sector: Sector, width: Int, height: Int): IntArray?

Resample sector into a width × height grid of 0xAARRGGBB pixels. Pixels with no source coverage (outside the raster, nodata, or an undecodable block) are fully transparent, so a tile that only partly overlaps the image composites correctly over whatever is beneath it.

Returns null when the sector doesn't overlap the raster, or when the pixel layout isn't one this decoder renders.