Convert PDF To Tiff Image
  • 09 Dec 2022
  • 1 Minute to read
  • Dark
    Light

Convert PDF To Tiff Image

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.0.0
LocationData > PDF

The Convert PDF To Tiff Image step converts the specified PDF file to a Tiff image.



Properties

Inputs

PropertyDescriptionData Type
Pdf DocumentThe PDF document to convertString

Outputs

PropertyDescriptionData Type
OutputTiff image fileString

Example Inputs and Outputs

InputOutput
PDF fileTiff file
Text FileEXCEPTION MESSAGE
Word FileEXCEPTION MESSAGE


Common Errors

Incorrect file header 

If a file added to the input is not a PDF file, the step will cause an error.

To correct this, ensure that the file mapped has the .pdf extension.

Exception Message:

Name: Error running step Convert PDF To TIFF Image 1[ConvertPdfToTiffImage] in flow [Flow 2]: Exception invoking method ConvertPdfToTiffImage on class PdfManagementSteps
                Exception Message: Error running step Convert PDF To TIFF Image 1[ConvertPdfToTiffImage] in flow [Flow 2]: Exception invoking method ConvertPdfToTiffImage on class PdfManagementSteps                

                Input Values: -- No Data --
                
                Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Convert PDF To TIFF Image 1[ConvertPdfToTiffImage] in flow [Flow 2]: Exception invoking method ConvertPdfToTiffImage on class PdfManagementSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method ConvertPdfToTiffImage 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.GetPdfDocFromFileData(FileData fileData)
   at DecisionsFramework.Design.Flow.CoreSteps.StandardSteps.PdfManagementSteps.ConvertPdfToTiffImage(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)
   --ref="/v7/docs/sending-an-email-from-a-flow" rel="nofollow" translate="no">Send Email


Was this article helpful?