At 04:43 PM 2/23/2006, kalper wrote:
I just want to obtain RGB and CMYK value for each pixel of a PDF page.

Let me try this again, since the first time I answered you didn't seem to understand.

PDF pages consist of a series of "drawing objects". These objects can be raster images, text or vectors (paths). Each object can be in one of ELEVEN(!) different colorspaces...

Given that, the concept of an "RGB or CMYK pixel" has no meaning. Do you understand?


I do not need to preview the page or convert it to an image.

Then you need to walk the object list and do bounds checking on objects. You also need to handle all eleven colorspaces as necessary.


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

Reply via email to