BlobToJpegArrayBufferOptions
Options for blobToJpegArrayBuffer.
Import:
import type { BlobToJpegArrayBufferOptions } from 'obsidian-dev-utils/blob';Signature:
export interface BlobToJpegArrayBufferOptionsProperties
| Property | Type | Description |
|---|---|---|
| shouldPreserveMetadata? | boolean | undefined | Whether 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: