# Is it possible to create a pdf file with multiple sizes?

**URL:** https://discourse.processing.org/t/is-it-possible-to-create-a-pdf-file-with-multiple-sizes/39695
**Category:** Libraries
**Created:** [November 13, 2022, 11:31pm UTC](https://discourse.processing.org/t/is-it-possible-to-create-a-pdf-file-with-multiple-sizes/39695 "2022-11-13T23:31:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jean-no](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jean-no/32/3352_2.png) [@Jean-no](https://discourse.processing.org/u/Jean-no)
#### Post date: [November 13, 2022, 11:31pm UTC](https://discourse.processing.org/t/is-it-possible-to-create-a-pdf-file-with-multiple-sizes/39695/1 "2022-11-13T23:31:26Z")

</div>

Hi !  
I wonder if there is a hint to use multiple page sizes in a pdf document ? (for example, the document’s first page with the whole cover of a book - including the front, the back and the spine)  
The pdf format can manage that, that but I can’t find a way to get it using the library.  
jn

---

<div class="post-metadata">

### Author: ![matheplica](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/matheplica/32/21035_2.png) [@matheplica](https://discourse.processing.org/u/matheplica)
#### Post date: [November 14, 2022, 1:38pm UTC](https://discourse.processing.org/t/is-it-possible-to-create-a-pdf-file-with-multiple-sizes/39695/2 "2022-11-14T13:38:58Z")

</div>

I don’t think so.  
The best is to create .jpg or .png from P5 with the different size.  
After you can use a small tool like PDF arranger on linux.  
If the name of image are writted in order (001.png, 002.png, 003.png, …), it’s very easy to create the pdf.
