lihao has asked for the wisdom of the Perl Monks concerning the following question:
Hi, folks:
With GD::Image, I can check the width and height of a local image file by the following code
my $image = GD::Image->new('/path/to/local/file.jpg'); my $width = $image->width; my $height = $image->height;
How can I do the same on a remote image like 'http://example.com/images/file.jpg'.
Many thanks
lihao
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Question: how to check remote image property
by ikegami (Patriarch) on Apr 07, 2008 at 19:53 UTC | |
by samtregar (Abbot) on Apr 07, 2008 at 20:40 UTC | |
by Fletch (Bishop) on Apr 07, 2008 at 21:20 UTC | |
|
Re: Question: how to check remote image property
by cosmicperl (Chaplain) on Apr 07, 2008 at 22:32 UTC | |
by Popcorn Dave (Abbot) on Apr 07, 2008 at 23:02 UTC | |
|
Re: Question: how to check remote image property
by poolpi (Hermit) on Apr 07, 2008 at 20:19 UTC | |
by Your Mother (Archbishop) on Apr 07, 2008 at 20:39 UTC | |
|
Re: Question: how to check remote image property
by ack (Deacon) on Apr 08, 2008 at 05:59 UTC |