Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create a multipage PDF from a list of images
ResourceFunction["ExportImagesToPDF"][file, images] exports images to a PDF file, with one image per page. | |
ResourceFunction["ExportImagesToPDF"][file, images, res] uses the specified resolution res. |
Export a list of random images to a PDF file:
| In[1]:= |
| Out[1]= |
View in an external viewer:
| In[2]:= |

Use Import to import the pages as images:
| In[3]:= |
| Out[3]= |
Use a lower resolution setting:
| In[4]:= |
| Out[5]= | ![]() |
Create a PDF from ExampleData:
| In[6]:= |
| Out[6]= |
| In[7]:= |
| Out[7]= | ![]() |
Create a PDF from ResourceData:
| In[8]:= | ![]() |
| Out[8]= |
| In[9]:= |
| Out[9]= | ![]() |
Export on a list of images behaves different: it exports the expression on a single PDF page which is oftentimes not what you want:
| In[10]:= | ![]() |
| Out[10]= |
| In[11]:= |

Wolfram Language 14.0 (January 2024) or above
This work is licensed under a Creative Commons Attribution 4.0 International License