in reply to Best way to parse/evaluate HTML page contents for apparent image size
Unfortunately, I find your question to be ... just too vague. “The size of an image that would actually render” might be specified absolutely in the HTML, e.g. width="720px", or it might be relative, "50%", or it might not be specified at all, in which case it would depend on whatever the size of the browser window happened to be at the time. That is to say, the actual image size is very much contextual, and in light of that, could you be a little bit more explicit as to what you need here? (Sure, there are terrific HTML parsers available which can, with great precision, tell you precisely what the HTML says. But that’s only part of the question.)
Replies are listed 'Best First'. | |
---|---|
Re^2: Best way to parse/evaluate HTML page contents for apparent image size
by Anonymous Monk on Dec 14, 2012 at 08:05 UTC | |
by sundialsvc4 (Abbot) on Dec 14, 2012 at 11:01 UTC | |
by Anonymous Monk on Dec 14, 2012 at 22:30 UTC | |
by Anonymous Monk on Dec 14, 2012 at 11:08 UTC | |
by Anonymous Monk on Dec 14, 2012 at 22:35 UTC |
In Section
Seekers of Perl Wisdom