[**@wocart/storefront v3.1.0**](../../README)

***

[@wocart/storefront](../../README) / [review-media](../README) / PhotoOptions

# Interface: PhotoOptions

What a review form does in the browser before a photo or a voice note is
sent, so it arrives small on a slow mobile connection: a photo shrunk and
re-encoded without its EXIF, a voice note recorded at a low bitrate that
stops at the store's limit. Each takes its browser dependencies as an
optional last argument, for tests and unusual hosts.

## Properties

### maxEdge?

> `optional` **maxEdge?**: `number`

Longest edge in pixels. Default 1600 (what the server keeps).

***

### quality?

> `optional` **quality?**: `number`

Encoder quality, 0–1. Default 0.82.
