/** * pds2img * * @description NASA Planetary Data System (PDS) to Image conversion library. * @author Logue * @license MIT * @version 0.3.0 * @see {@link https://github.com/logue/pds2img} */ /** * Encodes pixel data as an uncompressed 16-bit grayscale TIFF file. * * Pixel values are linearly normalized from their finite min/max range to * `[0, 65535]`; non-finite values are written as `0`. * The output uses little-endian (Intel) byte order and a single strip. * * @param pixels - Row-major Float32Array of pixel values (length = width × height) * @param width - Image width in pixels * @param height - Image height in pixels * @returns ArrayBuffer containing a valid TIFF file * @throws {RangeError} If the dimensions do not match `pixels`. */ export declare function encodeToTIFF(pixels: Float32Array, width: number, height: number): ArrayBuffer;