Function decodeSrgbBatch

Decodes a batch with the exact scalar sRGB transfer semantics.

bool decodeSrgbBatch(T)(
  scope const SRgb!T[] input,
  scope LinearSRgb!T[] output
) pure nothrow @nogc @safe
if (is(T == float) || is(T == double));

Returns false without writing when the input and output lengths differ. The operation performs no allocation, clipping, gamut mapping, or implicit quantization.