Initial project import
This commit is contained in:
21
node_modules/@monogrid/gainmap-js/dist/decode/shared/utils/MPFExtractor.d.ts
generated
vendored
Normal file
21
node_modules/@monogrid/gainmap-js/dist/decode/shared/utils/MPFExtractor.d.ts
generated
vendored
Normal 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[]>;
|
||||
}
|
||||
2
node_modules/@monogrid/gainmap-js/dist/decode/shared/utils/extractXMP.d.ts
generated
vendored
Normal file
2
node_modules/@monogrid/gainmap-js/dist/decode/shared/utils/extractXMP.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import { GainMapMetadata } from '../../../core/types';
|
||||
export declare const extractXMP: (input: Uint8Array) => GainMapMetadata | undefined;
|
||||
7
node_modules/@monogrid/gainmap-js/dist/decode/shared/utils/get-html-image-from-blob.d.ts
generated
vendored
Normal file
7
node_modules/@monogrid/gainmap-js/dist/decode/shared/utils/get-html-image-from-blob.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* private function, async get image from blob
|
||||
*
|
||||
* @param blob
|
||||
* @returns
|
||||
*/
|
||||
export declare const getHTMLImageFromBlob: (blob: Blob) => Promise<HTMLImageElement>;
|
||||
Reference in New Issue
Block a user