Format of the images returned by the widget.
Attribute: image-format
image-format
Type: string
string
Default value: "image/jpeg"
"image/jpeg"
PNG
image/png
PNG format.
JPEG
image/jpeg
JPEG format.
import { ImageFormat } from '@facephi/selphi-web-component'; selphi.imageFormat = ImageFormat.JPG;
MIME format of the returned images in extractionFinish by facephi-selphi-widget (image/jpeg or image/png). With JPEG, combine it with imageQuality to control compression.
extractionFinish
facephi-selphi-widget
imageQuality
Last updated 1 month ago
import { ImageFormat } from '@facephi/selphi-web-component'; <facephi-selphi-widget imageFormat={ImageFormat.JPG} />