in reply to determining image size by a URL
From the Image::Size documentation:
- imgsize(stream)
- Returns a three-item list of the X and Y dimensions (width and height, in that order) and image type of stream. Errors are noted by undefined (undef) values for the first two elements, and an error string in the third. The third element can be (and usually is) ignored, but is useful when sizing data whose type is unknown.
So, you're going to want to look in the third element returned to see what went wrong.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: determining image size by a URL
by Anonymous Monk on Jul 07, 2006 at 17:55 UTC | |
by jhourcle (Prior) on Jul 07, 2006 at 19:08 UTC | |
by shmem (Chancellor) on Jul 07, 2006 at 18:18 UTC |