Hi,
Thanks for that, however, it is the individual image extraction that is the problem, rather than the conversion of each page into an image. See code snippet, which generates the problem, using version 2.5.0.0.
Try
'Set up licensing
Dim myLicense As Aspose.Pdf.Kit.License = New Aspose.Pdf.Kit.License
myLicense.SetLicense("Aspose.Pdf.Kit.lic")
'Instantiate PdfExtractor object
Dim extractor As PdfExtractor = New PdfExtractor()
Dim inputfile As String = "C:\FileDrop\EPC.pdf"
'Bind the input PDF document to extractor
extractor.BindPdf(inputfile)
'Set the Number of Page in PDF document from where to start image extraction
extractor.StartPage = 1
'Set the Number of Page in PDF document, where to end image extraction
extractor.EndPage = 2
'Extract images from the input PDF document
extractor.ExtractImage()
'A variable to store the prefix (First Part usually file name) of the image file name
Dim prefix As String = "ImageFile"
'A variable to count number of extracted images
Dim suffix As String = ".jpg"
'A variable to count number of extracted images
Dim imageCount As Integer = 1
'Calling HasNextImage method in while loop. When images will finish, loop will exit
While extractor.HasNextImage()
'Call GetNextImage method to store image as a file
extractor.GetNextImage(prefix + imageCount.ToString + suffix)
'Incrementing image counter variable
imageCount = imageCount + 1
End While
Catch ex As Exception
Console.WriteLine(ex.Message)
Console.ReadLine()
End Try