Kevin,
this might be a stupid question but you seem to be the 'guy to
ask' ;-) Is there a way, preferably using Zend_Pdf, to get the
'string' data out of a created pdf? By that I mean the strings that
are painted into the pdf - i.e. the text content (not meta data). I'm
interested in this because an app I work on dynamically produces pdfs
and I'd like to be able to unit test the saved pdf by reading it in
and checking it has the correct content (e.g. it has the string
"Invoice" in it).
Thanks,
Tony
On 4 Jan 2007, at 18:39, Kevin McArthur wrote:
Lars,
I wrote some image-file-data parsers for Zend_Pdf (that are now
being updated to better support types of streams and unified binary
parsing)
The current state of the upgrade work is not yet complete. PNG
support is in the new format, TIFF, JPEG and GIF support are coming.
A TIFF parser is included with Zend_Pdf currently. [It just needs
to be converted to the new format]
The purpose of these 'works' was to create Zend_Pdf image handling
functionality WITHOUT any external dependancies. They would be a
good basis (once this upgrade is complete) for this project;
however, an immense amount of work. Zend_Pdf's adaptability to run
without a lot of installed modules is really important to maintain,
so I'd say we probably shouldnt forge ahead down the path of
writing wrappers for pecl extensions.
Willie has taken over this conversion project but the status
remains unknown to me. I should be back working actively on
Zend_Pdf in a month or so time. If he's not completed the upgrades
by then, I'll take the project back *nudge*
If you need any info about image-data processing, I'm the guy to
ask. If you'd like a copy of the patch, one can be made available
to you.
Kevin McArthur
P.S. There's been talk on various irc channels about a
PixelIterator class -- any interest here?
----- Original Message ----- From: "Lars Strojny" <[EMAIL PROTECTED]>
To: "Zend Framework General" <[email protected]>
Sent: Tuesday, January 02, 2007 5:08 PM
Subject: [fw-general] Thinking again about Zend_Image