PDF-API2 reviews

cpanratings
 

RSS | Module Info | Add a review of PDF-API2

PDF-API2 (2.019) *****

Good base module.

I used PDF:TextBlock to handle paragraphs.

For memory performance, I produce one page at a time with API2 and Textblock, then join them at the end with PDF Reuse (reduced max RAM to about 23.5 MB, reduced final file size by a third). I also print my footer with PDF Reuse, because it is includes # of pages (page x/y). API2 methods 'new (-file)' and 'finishobjects' don't actually help with RAM, so mine was running out of control (362 MB on 106 page doc).

scott - 2012-01-30T11:51:27 (permalink)

Was this review helpful to you?  Yes No

PDF-API2 (0.69) ****

Would love an example of using the shade shading object.
This is an incredible module, limited only by documentation so far.

cm1 - 2008-05-15T14:03:21 (permalink)

1 out of 2 found this review helpful. Was this review helpful to you?  Yes No

PDF-API2 (0.63) ***

The documentation is far from complete.

I want to add a dashed line for instance.
So, that must be a gfx according to the page module. But there is no gfx module, the line feature is hidden in Content.

Content gives me this information about a dashed line:
$co->linedash @dash
Sets linedash.

So, what is the array supposed to be filled with?
And so I can make a very long list with examples.

This is a sad, very sad, because the module looks like it has a million features and is a ideal solution to write a PDF.

Please stop the development and invest time in documentation.

Joris - 2007-09-12T02:39:00 (permalink)

11 out of 11 found this review helpful. Was this review helpful to you?  Yes No

PDF-API2 (0.57) **

Looks really useful but the documentation is incomplete and the test coverage negligible. Even if it's a fantastic bit of code I don't feel at all confident about using it.

That's a shame because it clearly represents a lot of work and is potentially very useful.

Andy Armstrong - 2007-03-05T08:54:07 (permalink)

10 out of 11 found this review helpful. Was this review helpful to you?  Yes No

PDF-API2 (0.55) *****

If you want to produce PDFs, and have to use Perl, use this module. Sine it's initial release, I have found it to be easy to use to produce simple documents, over every aspect of my PDF creation, from image contact sheets, to relatively complex tabulated data. Top notch!

I should add, though, that using this moudle is not a two-minute job. The documentation is extremely sparse, and assumes you know not only PDF but also PDF::API2, and will take some time to penetrate. If you are not familliar with printing/print-layout and PDF terminology, you will probably need a glossary, since the object-orientation closely mirrors these two fields.

My big problems with this module begin with text flow. The latest version of the module suddenly required Perl 5.8.*, and unexpectedly replaces the old text-rendering without warning, leaving piles of code in need of updates. The replacement methods do a quite poor job at rendering blocks of text, and are almost undocumented. There is no way to render a block of text with inline font/style changes. There is no way to render columns. All of those things you'll have to do yourself.

Finally, the mailing list is actually a Yahoo! group, and has all the associated accessibility problems.

But if you are patient, this module can produce very pleasing results that are usable on an increasingly-wide number of platforms.

Lee Goddard - 2006-05-10T00:11:32 (permalink)

14 out of 15 found this review helpful. Was this review helpful to you?  Yes No

PDF-API2 (0.41) ****

It's a great module because you can do with it what you should be able to. It's just terrible trying to figure it out.

Andy Lester - 2005-04-03T15:17:33 (permalink)

6 out of 6 found this review helpful. Was this review helpful to you?  Yes No

PDF-API2 (0.40.100) *****

This module is AWESOME. I've used it in production and for some personal projects. It can do just about anything. Admittedly, the documentation is anemic, but there is a grass roots effort to create some formal documentation. Also, there is a Yahoo Group that is moderated by Alfred Reibenschuh where specific questions do get answered in a timely manner.

If you want to use Perl to create PDF files, I highly recommend this module. PDF is daunting at first, but once you get your arms around the basics of PDF building, this module is indespensible. It creates crisp, clean PDFs. I've compared the raw PDF output from PDF::API2 with that generated by Acrobat 6.0 Professional. In most cases, the PDFs from PDF::API2 are at least as good as the Abode versions, and they are almost always smaller, making them good for document storage and for web-served PDFs.

Two thumbs up!

mscollins - 2005-03-21T19:16:08 (permalink)

9 out of 9 found this review helpful. Was this review helpful to you?  Yes No

PDF-API2 (0.3r77) *****

Funcionality and stability is great

mflury - 2004-02-01T08:43:42 (permalink)

Was this review helpful to you?  Yes No

PDF-API2 (0.3r74) *****

It solved my PDF generation problems in two projects. Excellent.

Alvise Valsecchi - 2003-09-08T04:01:57 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

PDF-API2 (0.3r74) ****

A fantastically powerful and much-needed set of modules, which I look forward to watching (or helping) flourish into as healthy a part of the psuedo-core as ImageMagick and GD.

Limited error handling is not a practicle problem, just a nice-to-have, and the few problems handling certian JPEGs are sure to be ironed out. The only weakness is the lack of documentation, though even than is not a problem when you locate the demo files on the internet.

Great stuff, Alfred: keep it up!

pws - 2003-09-07T15:23:27 (permalink)

3 out of 3 found this review helpful. Was this review helpful to you?  Yes No
3 hidden unhelpful reviews