Image Outside Page Bounds PDF Error: How to Fix the Numbers

Last updated

The image outside page bounds PDF error shows up when X plus the image width is larger than the page width, or Y plus the image height is larger than the page height.

Add Image to PDF then lists your file on the results screen with the reason "Image rectangle is outside the page bounds".

Add Image to PDF

What Triggers the Image Outside Page Bounds PDF Error

Touching the edge is fine. X plus width may equal the page width exactly, and the check only fails once the sum goes past it.

The check works in PDF points, and one unit in PDF's default user space is 1/72 of an inch, per Adobe's Acrobat SDK documentation. Acrobat SDK: coordinate systems

It checks against the visible page (the crop box with any rotation applied), so on a page turned 90 degrees width and height swap.

A negative X or Y, or a width or height of zero or less, stops the run with "Coordinates and dimensions must be valid positive numbers".

If the page number isn't a whole number between 1 and the page count, you get "Page must be within the PDF page range".

Image outside page bounds PDF error on the Add Image to PDF results screen: test1.pdf: Image rectangle is outside the page bounds
X 600 plus a 120 point width runs 40 points past this 680 point page.

The Message Does Not Say Which Number Is Wrong

In our October 2026 run on an A4 page of 595.28 by 841.89 points, a 100 point wide image at X 496 ended at 596. The tool refused it with this message.

At X 495.28 the same image ended exactly on the right edge, and that one went through.

A 100 point tall image at Y 742, ending at 842 points, got word for word the same message. So the error won't tell you whether X, Y, width or height is the problem, and you'll have to check all four.

Read the page width and height shown above the form after you upload the PDF.

Check both sums: X plus width against the page width, and Y plus height against the page height.

Reduce X until X plus the width fits inside the page width.

Reduce Y until Y plus the height fits inside the page height.

Shrink the width and height by the same factor if the image itself outgrows the page.

When the Size Shown Is Not Your Target Page

The size shown above the form belongs to the first page. A later page with a different size or rotation needs its own measurement.

Check the target page's size in your PDF viewer's document properties before entering the numbers.

Switch width and height in your plan for a page rotated by 90 or 270 degrees.

Continue with Image Looks Stretched After Adding to PDF? Fix the Aspect Ratio or Add Image to PDF at Exact Position Using X and Y Points.

Frequently Asked Questions about Image Outside Page Bounds PDF Error: How to Fix the Numbers

Can the image touch the page edge?

Yes. A rectangle that ends exactly on the edge passes; only one that goes past it fails.

Why does my image fit on page 1 but fail on page 3?

Each page gets checked against its own visible size, and page 3 may be smaller, cropped or rotated.

Does the error change my PDF?

No. The run stops before anything gets drawn, so you don't end up with a file holding the image.

What units do X, Y, width and height use?

Enter all four values in PDF points, where 72 points equal one inch.