Skip to contents

Physical pixel size

Usage

at_pixel_size(x, call = rlang::caller_env())

Arguments

x

An annot_image.

call

The calling environment, for error reporting.

Value

A numeric vector of length 2, the physical size of one level-0 pixel as c(x, y), in the units given by at_meta(x, "pixel_unit").