Initial project import

This commit is contained in:
drjones
2026-06-13 17:36:44 -07:00
commit ad2a18cc8d
18471 changed files with 4497570 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
export type MPFExtractorOptions = {
debug: boolean;
extractFII: boolean;
extractNonFII: boolean;
};
/**
* MPF Extractor (Multi Picture Format Extractor)
* By Henrik S Nilsson 2019
*
* Extracts images stored in images based on the MPF format (found here: https://www.cipa.jp/e/std/std-sec.html
* under "CIPA DC-007-Translation-2021 Multi-Picture Format"
*
* Overly commented, and without intention of being complete or production ready.
* Created to extract depth maps from iPhone images, and to learn about image metadata.
* Kudos to: Phil Harvey (exiftool), Jaume Sanchez (android-lens-blur-depth-extractor)
*/
export declare class MPFExtractor {
options: MPFExtractorOptions;
constructor(options?: Partial<MPFExtractorOptions>);
extract(imageArrayBuffer: Uint8Array<ArrayBuffer>): Promise<Blob[]>;
}

View File

@@ -0,0 +1,2 @@
import { GainMapMetadata } from '../../../core/types';
export declare const extractXMP: (input: Uint8Array) => GainMapMetadata | undefined;

View File

@@ -0,0 +1,7 @@
/**
* private function, async get image from blob
*
* @param blob
* @returns
*/
export declare const getHTMLImageFromBlob: (blob: Blob) => Promise<HTMLImageElement>;