@monogrid/gainmap-js / decode / processImages
processImages(sdrBuffer, gainMapBuffer?, imageOrientation?): Promise<{ gainMapImage: HTMLImageElement | ImageBitmap | undefined; needsFlip: boolean; sdrImage: HTMLImageElement | ImageBitmap; }>
sdrBuffer
gainMapBuffer?
imageOrientation?
Promise
gainMapImage
HTMLImageElement
ImageBitmap
undefined
needsFlip
boolean
sdrImage
Defined in: src/decode/shared/utils/create-textures.ts:23
Decodes the SDR and (optional) gain map JPEG buffers into images
ArrayBuffer
"flipY" | "from-image"
"flipY"
"from-image"
Promise<{ gainMapImage: HTMLImageElement | ImageBitmap | undefined; needsFlip: boolean; sdrImage: HTMLImageElement | ImageBitmap; }>
There was an error while loading. Please reload this page.