Skip to content

BlobToJpegArrayBufferOptions

Options for blobToJpegArrayBuffer.

Import:

import type { BlobToJpegArrayBufferOptions } from 'obsidian-dev-utils/blob';

Signature:

export interface BlobToJpegArrayBufferOptions

Properties

PropertyTypeDescription
shouldPreserveMetadata?boolean | undefinedWhether to carry the source image's metadata segments (EXIF, GPS, XMP, ICC profile) into the re-encoded JPEG. Only has an effect when the source is a JPEG. Defaults to false, which is the behavior a canvas re-encode has always had.

Links to this page: