ImageFrame.withUri constructor

ImageFrame.withUri(
  1. Uri uri
)

Creates an ImageFrame containing the image defined by the provided uri.

Supported image formats are GeoTIFF, TIFF, JPEG, and PNG. The URI can be a local file path or an HTTP path to an image.

Parameters:

  • uri — A URI that identifies a local or online image source.