Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Nov 02, 2015 12:32 pm

Hi there,

I have a pdf document that seems to consist of two 'layers'.

In my scenario I need to convert the pdf document from pdf to png. To achive this I'm using the SaveAsImage method on the PdfDocument class. Unfortunately this method seems to 'print' only one of the two layers.

Could you please confirm that the internals of this method only print the default layer of the document?
Is there a possibility in your API to merge or combine all the layers in pdf document?

Thank you very much
Regards
Marcus

MarcusKoh
 
Posts: 2
Joined: Mon Nov 02, 2015 12:22 pm

Tue Nov 03, 2015 1:52 am

Hello Marcus,

Thanks for your inquiry.
To help us recreate it on our side and resolve it soon, please provide us with your pdf document.

Thanks.
Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Fri Nov 06, 2015 7:54 am

Hi,

Did your issue still exist?
If so, please provide us with your pdf document.
Thanks.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Mon Nov 09, 2015 9:33 am

Hi,

thanks for getting back. Yes the problem still exists.
Unfortunately I can't provide you with the pdf document since it contains customer information.

I'm still trying to get another non critical document that shows the same behaviour.

So far I've found out that the pdf was scanned and then emailed to us.
I suspect that the document contains some watermark or something like that.

It'll be helpful if you could provide me with an example of how to produce a pdf document with one layer from a document with two layers.

Meanwhile I'm trying to get an example document from our customer.

Thank you
Regards
Marcus

MarcusKoh
 
Posts: 2
Joined: Mon Nov 02, 2015 12:22 pm

Tue Nov 10, 2015 3:21 am

Hi Marcus,

Thanks for your reply.
Sorry that we don't know what is the layer in your pdf document. To help us know it and resolve your issue soon, an example pdf document is very much needed. You can also send your document to amy.zhao@e-iceblue.com if you cannot share it here.
Thanks.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDF