writeFloatGrayscaleTiff

fun writeFloatGrayscaleTiff(pixels: FloatArray, width: Int, height: Int): ByteArray

Encode a width × height grid of float elevation samples (row-major, top-row first) into a TIFF byte array. The Float.MAX_VALUE null-data sentinel that the reader recognises is written through unchanged.