Learn R Programming

rstac (version 0.9.2-5)

preview_plot: 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)

Value

A rastergrob grob from package grid.

Arguments

url

image URL to be plotted.