in reply to Error log clarification needed...
newFromJpegData expects a JPEG to be in the variable passed as argument, not a URI.
newFromJpeg won't work either, since that expects a file name to passed as argument, not a URI.
You probably want something like
my $image = GD::Image->newFromJpegData("/web/www.funnyandjokes.com/pic +tures/images/bush_lord-of-the-rings.jpg");
If the image is remote, download it using LWP first.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error log clarification needed...
by chinamox (Scribe) on Dec 20, 2006 at 02:57 UTC |