Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
someone01@adobeforums.com #1
Converting a PDF to pure black and white
I'm currently attempting to convert a PDF of any colorspace (RGB, CMYK, Grayscale etc) to black and white.
Currently I'm walking the PDF using Adobe PDFLibrary, separating the contained PDEElements and identifying them (Image, text, etc).
Does anyone have any advice on how to proceed from here? I figure the actual conversion operation will have to be written from scratch, as Adobe doesn't seem to support this. However, I'm having a hard time determining the colors of each object. I suppose I could rasterize everything and convert pixel by pixel, but I'd like to avoid that and preserve vector images and such if at all possible.
Thanks in advance for any help!
someone01@adobeforums.com Guest
-
Black text in PDF converting to CMYK black in InDesign
James: I'm having your problem with some pdfs created elsewhere. Did you manage to solve your problem? -
White on Black
I need to create 3x4" signs with white text on a black background. How would I accomplish this? -
Black and white
I have always been a color photographer but want to try to shoot black and white. Any suggestions for film stock to use? Any suggestions on exposure... -
Converting color photos to black and white
I have a minolta dimage 7i and am wanting to convert high res tiff pictures to black and white. My printer is a canon s900. The color photos are... -
Black & White Image with no white box
Tried the "export transparent image" under "help" yet? If I understand correctly, you need a clipping path, that'll do it. -
Leonard_Rosenthol@adobeforums.com #2
Re: Converting a PDF to pure black and white
How do plan to describe "black" and "white" in the PDF? There is no "monochrome" colorspace - so are you planning on using DeviceGray, Separation Black or something else?
Once we understand what your final colorspace goal is, then we can point you at solutions.
Leonard_Rosenthol@adobeforums.com Guest
-
someone01@adobeforums.com #3
Re: Converting a PDF to pure black and white
Yes, I'm aware that there is no monochrome colorspace. However, wouldn't it be possible (likely at a very low level) to fetch and modify the colors of elements manually?
I suspect the initial thing to do is convert images to the DeviceGray colorspace and work from there, since black and white are easily defined there, if I understand correctly.
someone01@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #4
Re: Converting a PDF to pure black and white
There are a set of APIs that you can access from the PDFLibrary (and plugins) for color conversion of objects. Look at the ACxxx APIs and then various PDDoc, PDPage, PDElement, etc. depending on what you are working with.
Leonard_Rosenthol@adobeforums.com Guest
-
PDL@adobeforums.com #5
Re: Converting a PDF to pure black and white
You could also define your own DeviceN colorspace with only two color values - white and black. Then using the methods Leonard suggested, convert your document to this colorspace.
PDL@adobeforums.com Guest
-
someone01@adobeforums.com #6
Re: Converting a PDF to pure black and white
Thanks guys, appreciate the assistance
someone01@adobeforums.com Guest



Reply With Quote

