Re: how to get color from PDF

"Mr. Shawn H. Corey" <[email protected]> Wed, 27 Feb 2008 09:32:50 -0500
Newsgroups gmane.comp.lang.perl.modules.pdfapi2
Message-ID <[email protected]>
AAA wrote:
> Hi All,
> 
> if p(x,y) is a dot on the pdf, how can I know its color?
> 

Eyeball it.

PDF is not a raster format; it uses vectors.  It has no dots or pixels.  The output you see has pixels since all modern output devices are raster ones.

PDF::API2 does not parse the contents of a PDF.  It can be used to manipulate a page's content as a whole, but not break it apart.


-- 
Just my 0.00000002 million dollars worth,
  Shawn

"It's not happiness that gives your life meaning, it's the pursuit."

+------------\
| Shangri La  \
| 40,000 KM   /
+------------/