Skip to content

decode.Class.MPFExtractor

github-actions[bot] edited this page Apr 2, 2025 · 17 revisions

@monogrid/gainmap-js / decode / MPFExtractor

Class: MPFExtractor

Defined in: src/decode/utils/MPFExtractor.ts:28

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

Constructor

new MPFExtractor(options?): MPFExtractor

Defined in: src/decode/utils/MPFExtractor.ts:31

Parameters

options?

Partial<MPFExtractorOptions>

Returns

MPFExtractor

Properties

options

options: MPFExtractorOptions

Defined in: src/decode/utils/MPFExtractor.ts:29

Methods

extract()

extract(imageArrayBuffer): Promise<Blob[]>

Defined in: src/decode/utils/MPFExtractor.ts:39

Parameters

imageArrayBuffer

Uint8Array

Returns

Promise<Blob[]>

Clone this wiki locally