Re: Help needed to do minor edits to PDF file

"fernando.madruga" <[email protected]> Fri, 25 Jan 2008 10:55:49 -0000
Newsgroups gmane.comp.lang.perl.modules.pdfapi2
Message-ID <[email protected]>
Thks all, but I switched languages! :)

I've discovered that, using C++ and the PDF API from Adobe, things are
100x easier, and since all I care is about automating the process and
not what language/API is used, that is what I'm working with for now
and it's pretty much done at this point...

Thanks anyway,
  Fernando Madruga

--- In [email protected], Alfred Reibenschuh
<alfredreibenschuh@...> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Mr. Shawn H. Corey wrote:
> > fernando.madruga wrote:
> >> Any pointers on how to access that raw PS data?
> > 
> > When you open a file with PDF::API2, it does not un-filter
(uncompress or decrypt) its content.  You would have to write a
routine to do that.
> > 
> > After that, would you have to find or write a parser to process
the raw content.
> > 
> > Once that is done, things should get easy :)
> 
> if you really want to dive in:
> 
> PDF::API2::Utils contains an unfilter method
> 
> the pagedata is located in $content_obj->{" stream"}
> 
> you should get a copy of the pdf-spec from:
> http://www.adobe.com/devnet/pdf/pdf_reference.html
> 
> 
> C
> - --
> fredo
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFHmXqAjKJMaHhpyr4RCA8hAJ9ZO7QRFFDr+4HSm8viDHuKhLjgNgCdGq8X
> 40OcWkw4mQD3jAt6sWXbYLc=
> =35JB
> -----END PGP SIGNATURE-----
>