Parses page geometry, bounding boxes, dimensions, orientation, and standard paper sizes from qpdf JSON structural metadata.
Summary
Functions
Parses page dimensions from decoded qpdf v1 JSON data.
Types
@type orientation() :: :portrait | :landscape | :square
@type page_dim() :: %{ page: pos_integer(), width: float(), height: float(), rotation: non_neg_integer(), orientation: orientation(), paper_size: String.t() | nil, box: %{media: [float()], crop: [float()]} }