Assuming you want to just save it to file? Yes!
Instead of printing to STDOUT, (like in a CGI program), you print to a file.
open(OUTPUT, ">$0.gif") or die "Can't open $0.gif: $!\n"; print OUTPUT $image->gif(); close(OUTPUT);
In reply to Re: Would GD draws in command line
by zentara
in thread Would GD draws in command line
by PhillipHuang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |