Initial project import
This commit is contained in:
20
node_modules/@monogrid/gainmap-js/dist/libultrahdr/mpf-generator.d.ts
generated
vendored
Normal file
20
node_modules/@monogrid/gainmap-js/dist/libultrahdr/mpf-generator.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Multi-Picture Format (MPF) generator
|
||||
* Based on CIPA DC-007 specification and libultrahdr multipictureformat.cpp
|
||||
*
|
||||
* MPF is used to embed multiple images in a single JPEG file
|
||||
*/
|
||||
/**
|
||||
* Calculate the total size of the MPF structure
|
||||
*/
|
||||
export declare function calculateMpfSize(): number;
|
||||
/**
|
||||
* Generate MPF (Multi-Picture Format) data structure
|
||||
*
|
||||
* @param primaryImageSize - Size of the primary image in bytes
|
||||
* @param primaryImageOffset - Offset of the primary image (typically 0 for FII - First Individual Image)
|
||||
* @param secondaryImageSize - Size of the secondary (gain map) image in bytes
|
||||
* @param secondaryImageOffset - Offset of the secondary image from the MP Endian field
|
||||
* @returns Uint8Array containing the MPF data
|
||||
*/
|
||||
export declare function generateMpf(primaryImageSize: number, primaryImageOffset: number, secondaryImageSize: number, secondaryImageOffset: number): Uint8Array<ArrayBuffer>;
|
||||
Reference in New Issue
Block a user