Function selectLevel

Select the coarsest available level that still covers the requested output dimensions. Ties prefer the first level in the IFD chain.

imageio.tiff.TiffSelectionResult selectLevel(
  scope const(imageio.tiff.TiffLevelInfo)[] levels,
  ulong requestedWidth,
  ulong requestedHeight
) pure nothrow @nogc @safe;