Pdf page image
pdf_page_imageA page of a PDF attached to an issue or a wiki page, as a picture you can look at — whole, or only the part 'box' names — drawn on the server, so nothing has to be installed on your side. Use it to read what a PDF's extracted text loses: superscripts, formulas, tables, diagrams. Name the issue by 'key' or the page by 'pageId' (or 'spaceKey' + 'title'), and the file by 'filename' as get_issue / get_wiki_page list it. 'page' counts from 1; the answer says how many pages the file has. 'box' is 'x,y,w,h' in fractions of the page as it is shown, top left first — '0,0,1,0.5' is the top half. The answer also carries 'quote': the Markdown that puts exactly this picture into a comment or a page of the same issue or page, and leads a reader back to that page of the PDF. Reading needs only permission to see the issue or the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | Optional part of the page: 'x,y,w,h' in fractions of it, top left first. | |
| key | No | Issue key, when the PDF is attached to an issue. | |
| page | No | The page, from 1. | |
| title | No | Exact page title, when identifying the page by title. | |
| width | No | Optional width of the picture in pixels, 400 to 2400; 1200 if not given. | |
| pageId | No | Wiki page id, when the PDF is attached to a page. | |
| filename | Yes | File name of the PDF, as listed by get_issue or get_wiki_page. | |
| spaceKey | No | Space key, when identifying the page by title. |