G'day Ken
Thank you for your usual thoroughness and helpfulness
just avoid the GD::Image objects altogether
I had actually come up with the same approach to a solution although I hadn't created it. I was thinking that writing a file out to disc and then reading it back in was a messy workaround and that I should be able to avoid using GD::Image using Perl's data structures. But writing the image file definitely works. Good to have my solution validated with your working example :)
In the actual code, I still create a GD::Image so that I can read the width needed to centre the image on the PDF. But that is not used for placing the image, just for working out where it needs to be placed.
In reply to Re^2: Image modules not returning or accepting GD::Image
by Bod
in thread Image modules not returning or accepting GD::Image
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |