Hi,
ist it possible to get the spotcolors used in a pdf in the Color Statistics with identify ?
Any other suggestions ?
thanks
markus
retrieve spot colors with identify from pdf
i posted 3 example pdfs to the location http://softwareftp.dig.de/pdfs/ . The name will identify the colors used.
In the pdf there are ColorSpaces defined. In the pdf spec its called "SpecialColor Spaces".
A link to the PDF Specification http://partners.adobe.com/public/develo ... rence.html
Staring on page 254 of the PDFSpec1.6 its described how SpecialColor Spaces will work and there are several examples how it looks in pdf with the different SpecialColorSpace types.
Hope this information is helpful for you ?
Markus
In the pdf there are ColorSpaces defined. In the pdf spec its called "SpecialColor Spaces".
A link to the PDF Specification http://partners.adobe.com/public/develo ... rence.html
Staring on page 254 of the PDFSpec1.6 its described how SpecialColor Spaces will work and there are several examples how it looks in pdf with the different SpecialColorSpace types.
Hope this information is helpful for you ?
Markus
Wow, 5 hours and i got a response, i really appreciate your response time and that it was for all postings as fast. Thanks
For mee the spot color name is want we want to have. I am not really clear what you mean if you write "but not the spot color itself".
On page 54 and 55 of the pdf specification you see how name literals are handled in pdf and the writing for "HKS#2005#20Z" is standing for "HKS 05 Z" so the "#20" is a encoded space character.
By the way if you prefer the character resolving should be done by the information consumer, then i can do this by myself.
Markus
For mee the spot color name is want we want to have. I am not really clear what you mean if you write "but not the spot color itself".
On page 54 and 55 of the pdf specification you see how name literals are handled in pdf and the writing for "HKS#2005#20Z" is standing for "HKS 05 Z" so the "#20" is a encoded space character.
By the way if you prefer the character resolving should be done by the information consumer, then i can do this by myself.
Markus
thanks for implemeting the spot color function.
I found out that if i have a pdf combined of several other pdfs (XObjects) it could be that the Spotcolor name will be repeated.
And yes it could be that each similar name has different color specification inside, but i will not see it on the name, because the name could be same.
Is this behaviour what you like to have ? Or should each spot color name be shown once, because we will not see the color values ?
In my example i had 26 times "Black", because the page consist of 26 individual pdf images which all define "Black" by themself.
And is it possible to get some information skipped from verbose ? I only like to have color information and geometry information.
I found out that if i have a pdf combined of several other pdfs (XObjects) it could be that the Spotcolor name will be repeated.
And yes it could be that each similar name has different color specification inside, but i will not see it on the name, because the name could be same.
Is this behaviour what you like to have ? Or should each spot color name be shown once, because we will not see the color values ?
In my example i had 26 times "Black", because the page consist of 26 individual pdf images which all define "Black" by themself.
And is it possible to get some information skipped from verbose ? I only like to have color information and geometry information.