Extract object with specific spot color from a PDF

Mar 06, 2020

Copy link to clipboard

Copied

Hello,

 

I have a PDF file containing some cutting marks as a spot color named "cutter". Is there a way with the PDF Library SDK to create a method that can output 2 files, one with only the cutting marks and the other without the cutting marks ?

 

Thank you for you answers

I have finally found a working solution for my request.

I walk in the pdf tree and look at the colorspace of the elements. If the color space is a separation named "Cutter", I remove this element.

 

At the end I have a new document without the "Cutter" separation.

 

Thank you.

TOPICS
Acrobat SDK and JavaScript, Create PDFs, How to

Views

50

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Extract object with specific spot color from a PDF

Mar 06, 2020

Copy link to clipboard

Copied

Hello,

 

I have a PDF file containing some cutting marks as a spot color named "cutter". Is there a way with the PDF Library SDK to create a method that can output 2 files, one with only the cutting marks and the other without the cutting marks ?

 

Thank you for you answers

I have finally found a working solution for my request.

I walk in the pdf tree and look at the colorspace of the elements. If the color space is a separation named "Cutter", I remove this element.

 

At the end I have a new document without the "Cutter" separation.

 

Thank you.

TOPICS
Acrobat SDK and JavaScript, Create PDFs, How to

Views

51

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 06, 2020 0
Apr 03, 2020

Copy link to clipboard

Copied

I have finally found a working solution for my request.

I walk in the pdf tree and look at the colorspace of the elements. If the color space is a separation named "Cutter", I remove this element.

 

At the end I have a new document without the "Cutter" separation.

 

Thank you.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 03, 2020 0