Issue in PDF to Image conversion

I was trying to convert a 4-page PDF file to images using Export PDF as Image, but it’s only converting the first and last pages into a single image .

Cause 1: “Spreads” Export Option Is Enabled

If “Export as Spread” or “2-up layout” is selected, the tool might combine multiple pages (first and last, or pages 1+4) into one image.

Fix:
Check if there’s an export option called:

  • “Export as individual pages”
  • “Do not combine pages”
  • “Single page layout”
    Enable that to ensure each page is exported separately.

Cause 2: Page Range Incorrectly Set

Some tools let you specify which pages to export, and a bad configuration could include only page 1 and 4.

Fix:
Double-check the page range settings and ensure it’s set to export:

  • All Pages, or
  • 1-4

Cause 3: Faulty PDF Reader/Converter

The converter you’re using might not fully support multi-page image exports or has a bug.

Fix:
Try one of these reliable alternatives:

  • Adobe Acrobat Pro: File > Export To > Image > PNG/JPG > All Pages
  • Online tools like PDFCandy, ILovePDF
  • Python script using pdf2image (if you’re comfortable with coding)

Cause 4: Export to Image Using “Print” Instead of “Export”

If you used “Print to Image” or “Save as image” via a virtual printer, it may create only a composite of visible or selected pages.

Fix:
Use Export or Save As Image from within the actual Export/Conversion menu, not Print.


Final Tip:

If you let me know which software or tool you’re using for this conversion (e.g., Adobe Acrobat, Foxit, online converter, etc.), I can give you more precise instructions.

1 Like

@Akhil_Raveendran

mostly it might be that the range is given wrong..please check the same or show some screenshot to understand

cheers

@Akhil_Raveendran

are you getting the page count correct in the log message?

cheers

Yes page count is correct

Export PDF to Image coverts only 1 image at a time.
You can use it inside a While loop if you want to iterate over multiple pages sequentially using a counter variable.
Output file name will also need to be a variable to account the page numbers as per counter.

![The image shows a UiPath workflow snippet designed to export pages from a PDF file into individual image files, utilizing a while loop and counter to iterate through the pages.

If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath

(Captioned by AI)|690x298](upload://fzjvDqguRWLlLDq2TNcQwo8reH5.png)

1 Like

@Akhil_Raveendran

What is the loop on? Isnt it on the pages?

As page number is what you need to provide not like number of pages

Like if you give 4 it converts page 4 always

Cheers

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.