Extrats the origin of the image that is currently set.

getImageOrigin(object)

Arguments

object

An object of class spata2.

Value

Either a directory or Global.Env. if it was read in from the global environment.