preview_plot: Plot preview images

View source: R/preview-utils.R

preview_plotR Documentation

Plot preview images

Description

This is a helper function to plot preview assets (e.g. quicklook, thumbnail, rendered_preview). Currently, only png and jpeg formats are supported.

Usage

preview_plot(url)

Arguments

url

image URL to be plotted.

Value

A rastergrob grob from package grid.


rstac documentation built on Oct. 18, 2023, 1:15 a.m.