Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Best way to parse/evaluate HTML page contents for apparent image size

by Anonymous Monk
on Dec 14, 2012 at 11:08 UTC ( #1008816=note: print w/replies, xml ) Need Help??


in reply to Re^2: Best way to parse/evaluate HTML page contents for apparent image size
in thread Best way to parse/evaluate HTML page contents for apparent image size

dude , WWW::Mechanize::Firefox has screenshot example, but it is not pure perl, and displays sizes as firefox does
  • Comment on Re^3: Best way to parse/evaluate HTML page contents for apparent image size

Replies are listed 'Best First'.
Re^4: Best way to parse/evaluate HTML page contents for apparent image size
by Anonymous Monk on Dec 14, 2012 at 22:35 UTC
    Yes, it looks like $mech->element_coordinates( $element ) will do precisely what I need. A series of arithmetic operations should quickly give me actual rendered image size, thank you.

    In absence of someone saying 'ah, but this module is better' or 'that module is pure perl', I'm planning on going this route.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008816]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2017-06-24 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (562 votes). Check out past polls.