Inspect an image source without changing annotations or reading pixels
Source:R/persistence.R
at_inspect_source.RdReport whether the file an image (or project) was read from is still available and unchanged, so a saved project can be reopened or relinked deliberately.
Arguments
- x
An annot_image or annot_project.
Value
A list with status, path, backend, options (the recorded
reader options) and options_inferred (TRUE for a legacy image whose
options were not recorded). status is "available", "missing",
"changed", "in_memory" (pixels held in memory, no source file) or
"unresolved". Size and modification time detect many source
replacements, but are not a content checksum. Composite sources also
validate every declared companion input, such as an ENVI header and
payload.
See also
at_relink_source(), at_inspect_saved()
Other io:
at_inspect_saved(),
at_load_project(),
at_load_session(),
at_read_geojson(),
at_read_qupath(),
at_read_rois_csv(),
at_relink_source(),
at_roi_from_geojson(),
at_save_project(),
at_save_session(),
at_write_geojson(),
at_write_qupath(),
at_write_rois_csv()