Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Retrieving error messages from the GD.pm module.

by grummerX (Pilgrim)
on Mar 04, 2002 at 12:17 UTC ( [id://149097]=note: print w/replies, xml ) Need Help??


in reply to Re: Retrieving error messages from the GD.pm module.
in thread Retrieving error messages from the GD.pm module.

According to Thomas Boutell's (author of the C-based GD library to which Lincoln Stein has provided the Perl interface) documentation, CopyResized() is indeed a void function, as are the other copying and resizing functions:

void gdImageCopyResized(gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH)

If you're having trouble with GD and can't find an answer in Lincoln's pod, look at Boutell's documentation. If you're still stumped, there's always the source...

-- grummerX

Replies are listed 'Best First'.
Re: Re: Re: Retrieving error messages from the GD.pm module.
by theguvnor (Chaplain) on Mar 04, 2002 at 14:28 UTC
    I knew that GD.pm was a front-end for the C-based GD lib but (a) didn't know where the documentation for Boutell's GD lib was and (b) wouldn't know how to read the C source code for it if I could find it*.

    GrummerX++ - thanks for confirming my suspicions about void context!!!

    ..Guv

    * Slight exaggeration; though I wouldn't have a hope of writing C code I am pretty sure I would be able to read it at a beginner level i.e. enough to tell that the function call is in void context :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-03-29 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found