Python SDK. How to remove some spot color (Separation) on PDF

Product: PDFTron SDK, PDFNetPython3

Product Version:

How to remove some spot color (Separation) on PDF. And save to PDF or PNG, TIFF
1633056770857

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:Forums:

Yes, it is possible. It would require editing the PDF itself to not draw any graphic elements with the color(s) you want to hide. See the ElementEdit sample to get an idea of what that code might look like.

To help us better understand your requirements, could you provide the following.

  1. Input PDF file
  2. Screenshot(s) showing the expected output

It would also be great to know what you do with the new PDF (with the separations removed)? Where does it go afterwards?

Hello Ryan,

Thanks for your reply, the Input PDF and the expected output as below.

	1. Input

	2. Expected output








The Expected output below I use Ghostscript to export them from original file but it shows bad resolution.

So do you have any suggestion or example code that can export individual seperations from source artwork PDF?
Anyway, I aiming to get output as PDF or any image file type without losing resolution. And the example artwork as in link below just in case.
ex artwork