Function get_thumbnail

Source
pub fn get_thumbnail(
    client: &impl UserAuthClient,
    arg: &ThumbnailArg,
    range_start: Option<u64>,
    range_end: Option<u64>,
) -> Result<HttpRequestResult<FileMetadata>, Error<ThumbnailError>>
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.