Function get_thumbnail_v2_app_auth

Source
pub fn get_thumbnail_v2_app_auth(
    client: &impl AppAuthClient,
    arg: &ThumbnailV2Arg,
    range_start: Option<u64>,
    range_end: Option<u64>,
) -> Result<HttpRequestResult<PreviewResult>, Error<ThumbnailV2Error>>
Available on crate features sync_routes and dbx_files only.
Expand description

Get a thumbnail for an image. This method currently supports files with the following file extensions: jpg, jpeg, png, tiff, tif, gif, webp, ppm and bmp. Photos that are larger than 20MB in size won’t be converted to a thumbnail.