> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/selphi-biometria-facial/propiedades/imagequality.md).

# imageQuality

## Details

**Attribute:** `image-quality`

**Type:** `number`

**Accepted values:** From `0.5` to `1`

**Default value:** `0.95`

## Morphology

```typescript
selphi.imageQuality = 0.95;
```

## Description

JPEG compression level (0.5–1.0) applied to returned images when `imageFormat` it is JPEG. It does not affect PNG captures.

### Considerations

Only applies when `imageFormat` it is JPEG.

***

## Example

```jsx
<facephi-selphi-widget
    imageFormat={'image/jpeg'}
    imageQuality={0.8}
/>
```
