Extracts the directory from where the image was loaded when it was registered via registerImage().

getImageDir(object, img_name = activeImage(object))

getImageDirectories(object)

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

img_name

Character value. The name of the image of interest. If NULL, the active image is chosen by default. Either way, must be one of getImageNames().

Value

Character value or vector in case of getImageDirectories().