At 05:10 AM 2/23/2006, kalper wrote:
How can obtain the RGB and CMYK pixel values of a pdf page?
What if the color used is not RGB or CMYK? PDF supports
11 different colorspaces...
I want to take whole pdf page as an image and obtain pixel values
of this image. Which
image format must be used?
If you want accurate color information, you can NOT treat
the PDF as a raster image - you need to treat it as a PDF and get the
information directly from the content...
Of course, you could rasterize the PDF to a single
colorspace and image format and treat it as pixels - but you would
need to ensure that rasterization was color managed.
Leonard
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED]>
Chief Technical Officer <http://www.pdfsages.com>
PDF Sages, Inc. 215-938-7080 (voice)
215-938-0880 (fax)
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions