Skip to content

decode.Class.MPFExtractor

github-actions[bot] edited this page Jan 15, 2025 · 14 revisions

@monogrid/gainmap-js / decode / MPFExtractor

Class: MPFExtractor

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)

Constructors

new MPFExtractor()

new MPFExtractor(options?): MPFExtractor

Parameters

options?: Partial<MPFExtractorOptions>

Returns

MPFExtractor

Defined in

src/decode/utils/MPFExtractor.ts:31

Properties

options

options: MPFExtractorOptions

Defined in

src/decode/utils/MPFExtractor.ts:29

Methods

extract()

extract(imageArrayBuffer): Promise<Blob[]>

Parameters

imageArrayBuffer: Uint8Array

Returns

Promise<Blob[]>

Defined in

src/decode/utils/MPFExtractor.ts:39

Clone this wiki locally