Problems trying to extract an image of a pdf file

Discussions about PDF management.
Post Reply
EFernkaes
Posts: 36
Joined: Fri Jul 31, 2015 5:27 pm

Problems trying to extract an image of a pdf file

Post by EFernkaes » Sat Dec 07, 2019 1:45 pm

Hello ORPALIS Team,

I've attached for you a PDF with strange behaviour.

This PDF was created with GDPicture v14.1.35 from .jpg files.
After that, there was the need to ultra-compress the file.
We do this with approx. 3.000 files day by day - we have big problems then with the MRC engine, but I will post this under the MRC topic.

The problem with the linked pdf file here is, that page 3 cannot be extracted.
Neitehr with this command
If urGdPicturePdf.IsPageImage Then
ImageID = urGdPicturePdf.ExtractPageImage(1)

nor with this one
Else
ImageID = urGdPicturePdf.RenderPageToGdPictureImage(200, True)

I recreated the PDF from the same .jpg files and the problem persists.

http://alt.Infoscan.de/Download/g011i00 ... 55v001.pdf

For test purposes I removed the pages 5 to 100 and tried to MRC compress the remaining 4 pages.
Now page 3 can be extracted but produces a memory leak when trying to add the image to a new pdf page wit this command:
status = oGdPicturePdf.AddImageFromGdPictureImage(ImageID, AdvancedCompression)

http://alt.Infoscan.de/Download/g011i00 ... esOnly.pdf

Hope that helps to find a bug and improve your product.

Greetings
Reini

loicaigon
Posts: 35
Joined: Mon Oct 21, 2019 9:11 am

Re: Problems trying to extract an image of a pdf file

Post by loicaigon » Mon Dec 09, 2019 11:58 am

Hi Reini,

Thanks for your valuable input. We are truly committed to delivering the best possible products and bug tracking, if any is found, is a priority to us.

I will pass the info to our developers and let you know!

Loic Aigon

Hugo
Posts: 227
Joined: Tue Dec 18, 2018 10:09 am

Re: Problems trying to extract an image of a pdf file

Post by Hugo » Mon Dec 09, 2019 3:38 pm

Hi Reini,

Thank you for providing a detailed post about the issue you are experiencing.

First of all, could you update your GdPicture version to v14.1.46 please? Let me know if you still experience the issue in this version.

If you still experience the issue, would you be able to submit a ticket here please? https://orpalis.zendesk.com/hc/en-us/requests/new
This is so we can work more closely together on the issue.
Since you already can visualize the problem on your end, would you be able to provide a very short project sample isolating the issue please? We will be needing to reproduce the problem on our end with the document you are using. Currently we cannot reproduce it as this is likely to be caused by the 3rd page of your document as you mention.

Thank you!

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest