http://qs321.pair.com?node_id=33485

IoaPetra has asked for the wisdom of the Perl Monks concerning the following question:

I'm working on a project that involves making thousands of PDF files from a template. I've got all of the font-metrics and text streaming ready, now the only thing holding me back is getting the images streamed in. PDF ASCII format uses ASCII85 encoding, what would be the best way to do this with Perl?

Originally posted as a Categorized Question.

  • Comment on Encoding images into ASCII85 for PDF generation

Replies are listed 'Best First'.
Re: Encoding images into ASCII85 for PDF generation
by Anonymous Monk on Mar 30, 2004 at 21:03 UTC
    Hi! I would use PDF::API2 from A. Reibenschuh. You can get it from CPAN. It works fine with different images.

    Regards Alex
    tech@ademmler.com

Re: Encoding images into ASCII85 for PDF generation
by Fastolfe (Vicar) on Sep 21, 2000 at 19:27 UTC
    I think ASCII85 is a standard encoding format for use with EPS image formats. I'm afraid I can't be of much more help than this, but I would look into figuring out how to encode your images into an EPS format instead of looking for information on ASCII85. I know Image::Magick will do this. That may be all you need.