Get average color from ColorSepration

Hello,

Any idea on how to get the average color from the color sepration ?

I used the (PDFTron WebViewer Class: DocumentViewer)

it return :

image

I want to get the average color from this reset , any idea on how to do that please ?

Thank you

1 Like

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:APIs:Forums:

Hello,

Thank you for contacting PDFTron Support.

Could you clarify “average color”? For example, what is the expected average color for the screenshot color you attached?

We look forward to hearing from you.

Best Regards,
Jason Hu
Web Development Support Engineer
PDFTron Systems, Inc.
www.pdftron.com