RTTSoftware Support Forum
PDF-ShellTools => Ideas/Suggestions => Topic started by: nightslayer23 on July 01, 2020, 02:24:20 AM
-
Hi again,
looking for a script for checking files for what colorspace the file is in, CMYK, RGB or a mix of both, then adding that information to a custom handle in metadata.
-
How do you do check that currently?
-
you need to open them in acrobat and check for CMYK elements and RGB elements in the output preview.
-
The Acrobat "convert colors" tool, in its "document colors" section, list the color spaces used by the document so probably a faster way to get this information?
Anyway, PDF-ShellTools doesn't have, currently, functionality to get this.
I also don't see in the Acrobat automation API's such functionality. Its Javascript API has a colorConvertPage method, that can be used to convert page object between color spaces, but I don't see any method to report the color space used by page objects.