<p>I think the best way would be to add a black rectangle line with fitting rounded edges to each page (width and height should be a little higher than the page outline, so it stays invisible).</p>
<p>I don't know of a way to alter the page bounds to something other than rectangular.</p>
<p>For automation... Idk, <a href="https://pdfsam.org" rel="nofollow noreferrer">PDFSam</a> maybe. One way to go would be to extract all images, edit them (could also be a floodfill with black in the corners) and combine as pdf again. This might be a mission for <a href="https://imagemagick.org/index.php" rel="nofollow noreferrer">imageMagick</a> and <a href="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/" rel="nofollow noreferrer">pdfToolkit</a>. But I did not test it out.</p>

CC BY-SA 4.0
2024-08-14T03:53:48.950Z
2024-08-14T03:53:48.950Z
Antares
<p>Is there a way to round corners for every page in pdf file?</p>
<p>Is there any tool to do it automatically? There is 186 pages.</p>
<p><a href="https://i.sstatic.net/rUcTbrzk.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/rUcTbrzk.png" alt="enter image description here" /></a></p>

<bitmap-graphics><pdf>
How to remove white corners from every page in pdf file?
Bartłomiej Semańczyk
# How to remove white corners from every page in pdf file?

(Asked by: username_0 on 2024-08-01)

Is there a way to round corners for every page in pdf file?

Is there any tool to do it automatically? There is 186 pages.

[![enter image description here](https://i.sstatic.net/rUcTbrzk.png)](https://i.sstatic.net/rUcTbrzk.png)

**Tags:** bitmap-graphics, pdf


---

## 1 answers

### Answer by username_1 on 2024-08-14. Score: 0

I think the best way would be to add a black rectangle line with fitting rounded edges to each page (width and height should be a little higher than the page outline, so it stays invisible).

I don't know of a way to alter the page bounds to something other than rectangular.

For automation... Idk, [PDFSam](https://pdfsam.org) maybe. One way to go would be to extract all images, edit them (could also be a floodfill with black in the corners) and combine as pdf again. This might be a mission for [imageMagick](https://imagemagick.org/index.php) and [pdfToolkit](https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/). But I did not test it out.


---

