--- title: "Convert PDF to PNG Images" slug: "convert-pdf-to-png-images" tags: ["pdf", "Data Steps"] updated: 2025-07-09T18:02:08Z published: 2025-07-09T18:02:08Z canonical: "documentation.decisions.com/convert-pdf-to-png-images" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Convert PDF to PNG Images | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 7.12.0 | | **Location** | Data > PDF | The **Convert PDF to PNG Images** step converts a PDF document into a list of PNG files. This step is mainly used to create a PDF copy as a list of PNG images, with each new image representing a different page. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | PDF Document | The PDF document | FileData | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | The list of FileData representing the outputted list of PNG images. Each image represents a page from the PDF. | FileData | --- ## Example Inputs and Outputs | Input | Output | | --- | --- | | .pdf file | List of PNG images. | | txt, doc, excel or other file types | EXCEPTION | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1671552905574.png) --- ## Common Errors ### Invalid File Type If the inputted File is not a PDF Document, then the step will throw the following exception. To prevent this issue, ensure that the input file is in a valid PDF format when mapped to the step. #### Exception Message: ```cpp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Convert PDF To PNG Images 1[ConvertPdfToPngImages] in flow [Testing]: Exception invoking method ConvertPdfToPngImages on class PdfManagementSteps ---> DecisionsFramework.LoggedException: Exception invoking method ConvertPdfToPngImages on class PdfManagementSteps ---> Aspose.Pdf.InvalidPdfFileFormatException: Incorrect file header at #=zrx8$vGff8rw0zOsJfXBx6dl$eHVthdMYUw==.#=zELiBKk0nn$NI() at #=zrx8$vGff8rw0zOsJfXBx6dl$eHVthdMYUw==..ctor(Stream #=zA6ZEq1c=, String #=zkZxG5Dc=, Boolean #=zFRe3SoGTg5hA) at Aspose.Pdf.Document.#=zyoo3pL0=(Stream #=z3RtBOxU=, String #=zkZxG5Dc=) at Aspose.Pdf.Document..ctor(Stream input) at DecisionsFramework.Design.Flow.CoreSteps.StandardSteps.DocumentManagementMethods.GetPdfDocFromFileData(FileData fileData) at DecisionsFramework.Design.Flow.CoreSteps.StandardSteps.PdfManagementSteps.ConvertPdfToPngImages(FileData PdfDocument) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data) at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData) at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` --- Related Information Forum Posts: - [Document Viewer in Relation to PDFs](https://community.decisions.com/discussion/2952/document-viewer-in-relation-to-pdfs) ## Related - [Convert PDF to PCL Step](/convert-pdf-to-pcl-step.md) - [Merge PDF Documents](/merge-pdf.md) - [Combine PDF Files](/combine-pdf-files.md) - [Set PDF Form Fields Dynamic](/set-pdf-form-fields-dynamic.md) - [Split PDF Steps](/split-pdf-steps.md)