fractal::utils::media::image

Constant THUMBNAIL_DIMENSIONS_THRESHOLD

Source
const THUMBNAIL_DIMENSIONS_THRESHOLD: u32 = 200;
Expand description

The size threshold in pixels for requesting or generating a thumbnail.

If the original image is larger than dimensions + threshold, we assume it is worth it to request or generate a thumbnail.