Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: constant problem with GD's newFromGif

by Roger (Parson)
on Sep 01, 2005 at 11:01 UTC ( #488348=note: print w/ replies, xml ) Need Help??


in reply to constant problem with GD's newFromGif

Try my $im = GD::Image->newFromGif( \*F );

Hang on, did you check whether your open succeeded or not? Do this instead:

open F, TMP_GIF_FNAME or die "Can not open image: $!";


Comment on Re: constant problem with GD's newFromGif
Select or Download Code
Re^2: constant problem with GD's newFromGif
by maard (Pilgrim) on Sep 01, 2005 at 11:52 UTC
    open F, TMP_GIF_FNAME or die "Can not open image: $!";
    You're right, that was the reason (I overlooked it, because the code became too heavy instead of several lines, written several days ago, because I coudn't create image from GIF data, only from file).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-07-04 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls