Skip to contents

Get the file path of images that are on disk and not read into memory. Only applies to SpatRasterImage and BioFormatsImage.

Usage

# S4 method for SpatRasterImage
imgSource(x)

# S4 method for BioFormatsImage
imgSource(x)

# S4 method for ExtImage
imgSource(x)

Arguments

x

An object of class *Image as implemented in this package.

Value

String, file path to the original image on disk. For

SpatRasterImage, if the image is loaded into memory, then

NULL.