Skip to content

BlobToJpegArrayBufferOptions.shouldPreserveMetadata?

BlobToJpegArrayBufferOptions › shouldPreserveMetadata?

Type: 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.