Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Image modules not returning or accepting GD::Image

by Bod (Parson)
on Dec 03, 2022 at 01:04 UTC ( [id://11148515]=note: print w/replies, xml ) Need Help??


in reply to Re: Image modules not returning or accepting GD::Image
in thread Image modules not returning or accepting GD::Image

incidentally PDF-API2-2.044/source/t/gd.t runs fine on your box?

I didn't recall any errors or warnings during installation but it was a while ago. So I have just upgraded from 2.043 to 2.044 and there were no errors or warnings

If you feel brave you can also use CopyResized from GD

I remember using CopyResized. The resizing worked IIRC but it messed up the colour palettes. A trip down memory lane in this thread - GD colorAllocate not changing colour

Replies are listed 'Best First'.
Re^3: Image modules not returning or accepting GD::Image
by Discipulus (Canon) on Dec 03, 2022 at 17:04 UTC
    > The resizing worked IIRC but it messed up the colour palettes

    Did you tryed: GD::Image->trueColor(1); before creating new images?

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-26 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found