I have a document that I stamped with a number of text blocks using a third party toolkit (iText). When looking at the stamps on two different pages, the corresponding stamps are appearing in different colors (though their color specifications are the same). For instance the blue "10" in the upper right hand corner of the Incorrect image below is 100% blue, 0% red and green, and the "11" in the upper right hand corner of the Correct image below is ALSO 100% blue, 0% red and green; they're just on different pages.
I at first thought it might be the 3rd party toolkit, but when I opened it up in Acrobat X Pro and looked at the properties of the text block I saw the following:
I can upload the PDF if it helps, I just need a place to upload it.
Thanks for any help!
Here's a URL for looking at the PDF that I'm talking about: https://www.evernote.com/shard/s88/sh/2bf8fa5d-9904-42e2-8659-233c80bc 2e4f/19a891c23b3480bf93e3ad1cda84d7cf
I've launched the PDF with other viewers (namely the version of Acrobat for Android) that don't exhibit this problem. So I'm wondering if it's a problem with the PDF, or Adobe Reader (our organization is still using Reader 9, but will be moving to Reader 11 in the near future). I see the same [mis-rendered] results in Acrobat X Professional.
Any help would be great! Thanks!!
Looks like a transparency issue. Reader/Acrobat 11 will probably show it consistently, or you can change the blend space to RGB. (Haven't looked at the PDF, but it sounds like the classic symptoms).
Thanks for the information!
I had a coworker test in Reader 11, and saw a really weird scenario. When the PDF was first loaded, the colors looked correct. However, as soon as he clicked on the thumbnails, page 1's colors went dull. So I'm a bit unclear as to what to do (it would seem that that indicates what I'm seeing is a Reader bug).
I've tried setting the
all to no avail. If someone wouldn't mind looking at the specific PDF I've uploaded, that would be greatly appreciated!!
Seems to work as I'd expect, if not as I'd wish.
I'll ignore the text "Here is some rendered..." which is dark red in DeviceRGB.
The text "10" on page 1 and "11" on page 2 are both 100%-0%-0% DeviceRGB.
Page 1 has transparency. Neither page has a blend space. In Acrobat 5 through X the default blend space is DeviceCMYK, so the page is converted from RGB to CMYK and back to RGB, causing darkening. Page 2 has no transparency so it is left alone.
Acrobat 11 (not currently installed for me to test with) should have a default blend space of DeviceRGB.
If I set the blend space as I suggested in reply #6, it works as expected. I set it to Adobe RGB and both "10" and "11" were identical reds. You mention blending mode, no idea what that means, sorry. The other stuff you mention has no impact on transparency blending.
This all comes down to ambiguities in the PDF specification, which we all hope one day will be fixed.
Thanks for your help, it pointed me in the direction of http://forums.adobe.com/message/3140145#3142774, and the image in post #14 there.
Using iText, I've still to find anything that gets the page to display the colors (especially the greens) the way I'd expect.
When you say that you set the blend space as suggested in reply #6, where did you set that and looking at the green or blue stamps, which of the top images has a closer color representation of what you saw??
You have to set the blend colour space for the page. Nothing else will do. No idea if iText does that, but there was a very long article linked earlier which suggested it didn't - did you read that? In Acrobat, use the poorly named Flattener Preview to set the blend space (be sure to choose All Pages). This is under the Print Production tools. The greens and blues become consistent. What they become depends on the colour space you choose.
Thanks! I had read the article, but was unclear as to it being the exact same problem that I was seeing.
After following your recommendation using the Flattener Preview, the colors came out correct!!
Unfortunately, I'm failing to see how to accomplish that programmatically, so I will engage iText support at this point! Thanks for your help.