PDA

View Full Version : Get image size



RzuF
26th March 2011, 00:09
So, I need to get image size which is located on website. It can be http://www.google.pl/intl/pl_ALL/images/logos/images_logo_lg.gif for example.

I tried QWebElement::geometry but it returns me actually size. I need real size. for example I show image 200x400 in QWebView 100x200 and image is resized to 100x200, so QWebElement::geometry returns me height 100.
I have no idea. Help me ;]

Sorry for my bad english, but i'm polish :D

high_flyer
1st April 2011, 14:38
The only way I know would be to download the image in to QImage and get the size from QImage.