New Forum | Previous | Next | (P-PDF) Developers
Topic: DeviceRGB to DeviceCMYK
Conf: (P-PDF) Developers, Msg: 73221
Date: 9/29/2002 05:56 PM
I have a bunch of PDF files which have images in it in DeviceRGB colorspace. Also images are compressed using DCTDecode and Flate Decode.
Now i want to convert the colorspace from DeviceRGB to DeviceCMYK,from within my custom plug-in (VC++ 6.0 /Win 98/2000) i tried using the conversion equation given in the PDF spec (6.2.3).
So, this is what i have understood, please advice me if i am right or wrong: for coverting an DeviceRGB image to DeviceCMYK i need to processing the RGB pixel and generate CMYK pixel using the conversion equation (PDF spec 6.2.3).
I have a couple of doubts here:
a) How do i use the BG2 and UCR2 in my C++ program to do the conversion from RGB -> CMYK?.
b) Or are there C++ equivalace to BG2 and UCR2 ?.
c) Or is there a way by which i don't need to convert the image pixel from RGB to CMYK and let Acrobat do that for me ?
Thanx in Advance,