Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Problem using PNG images created by GD::Graphs in an API2 PDF doc

by jmo0099 (Initiate)
on May 10, 2004 at 23:18 UTC ( [id://352244]=note: print w/replies, xml ) Need Help??


in reply to Re: Problem using PNG images created by GD::Graphs in an API2 PDF doc
in thread Problem using PNG images created by GD::Graphs in an API2 PDF doc

I tried your suggestions. What I did was:
    Added "$image->interlaced(undef);" in the line after I call the plot method.
    Added "$hPdf->save;" in the line after I called the stringify method.
    Changed the dimensions of the mediabox to be 1200x900.

Unfortunately, after all this I am still having the same problem. When the PDF file is created it starts printing out "substr outside of string at /usr/lib/perl5/site_perl/5.8.3/PDF/API2/PDF/ImagePNG.pm line 137.".

Do you know what versions of these packages you are running? Maybe there is some incompatability if I am on the bleeding edge of releases.

Thanks for your help,
John
  • Comment on Re: Re: Problem using PNG images created by GD::Graphs in an API2 PDF doc

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://352244]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-20 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found