Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Question: how to check remote image property

by Popcorn Dave (Abbot)
on Apr 07, 2008 at 23:02 UTC ( #678852=note: print w/replies, xml ) Need Help??


in reply to Re: Question: how to check remote image property
in thread Question: how to check remote image property

But does that work for JPEGs as well as GIFs? I remember writing an image map program in TK and had to physically open a JPEG, and do a bit of unpacking magic on some of the first 9 bytes of the file to get the file dimensions. Granted this was years ago and maybe the module has been updated but as I recall, I tried that and it wouldn't handle the JPEGs.

Update: Realized the OP was asking about remote images not local.


Revolution. Today, 3 O'Clock. Meet behind the monkey bars.

I would love to change the world, but they won't give me the source code

  • Comment on Re^2: Question: how to check remote image property

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2019-04-19 11:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (106 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!