Docspring.Model.TemplatePageImages (docspring v4.3.0)

A JPEG image of each page of a PDF template's PDF, at 140 DPI (a US Letter page is 1190 x 1540 pixels), to see the pages that fields are placed on. The template's document.page_dimensions gives each page's size in PDF points. Fields are placed in units where every page is 2480 wide: to place a field at a point on an image, multiply the point's pixel coordinates by 2480 and divide them by the image's width.

Summary

Types

t()

@type t() :: %Docspring.Model.TemplatePageImages{
  page_count: integer(),
  pages: [Docspring.Model.PageImage.t()],
  template_id: String.t(),
  version: String.t() | nil
}

Functions

decode(value)