Preview image
iwork_thumbnailExtract the stored preview image from a Numbers, Keynote, or Pages file to JPEG and return its path, so you can view the first page or slide without opening the app.
Instructions
Extract the preview image stored in the file (first page/slide) to a JPEG and return its path — a quick look without opening the app. Reflects the app's last save. Use for a quick look at the stored first-page preview with no app. It reflects the last save in the app, not your latest edits: to see a slide as it renders now, use keynote_slide_image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .numbers, .key or .pages file (absolute, or starting with ~). | |
| out_dir | No | Folder for the extracted JPEG; omit for a temporary folder. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||