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 Sept. 11, 2024, 7:03 p.m.