in reply to Image modules not returning or accepting GD::Image
probably his Anonymousness here above is correct, I was trying to decrypt the same part of code.. incidentally PDF-API2-2.044/source/t/gd.t runs fine on your box?
About the tiler, I think your best option is to use GD directly for this: allocate a new image Hx1 Wx3 then copy img1 to 0,0 then img2 to 0,0+W and img3 to 0,0+Wx2 (if I remember parameter positions correctly).
If you feel brave you can also use CopyResized from GD: so you can avoid also the Image::Resize dependency. Allocate the new empty image as needed and use CopyResized to fill in the three parts.
I'd try this part of code separately before implementing it in your code: you'll have fun on this :)
If it is possible avoid CGI stuff while presenting example code to run, not for the CGI per se but it is unrelated to the problem and I'd have to heavily modify your code if I'd want to run it on my own.
L*
PS gd_tiler using GD to create tiled images
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Image modules not returning or accepting GD::Image
by Bod (Parson) on Dec 03, 2022 at 01:04 UTC | |
by Discipulus (Canon) on Dec 03, 2022 at 17:04 UTC |