I am generating a html page containing a single image. The size of the image is unknown as I cannot just download it an it is not stored locally. I create the html and show it in a webview. I need to shrink or expand the webview so that only the image is shown at 100%. The image is then saved as a jpg using the bitmap function of the webview.
How can I set the size of the webview so that the image has no borders?
Not quite what I meant Manfred. The border arises from placing the image on a webview. The border IS whats left around the image ie the webview background. I need to re-size the webview so that it is exactly the size of the image. Thats why I need to find the size of the image (which is not always the same size). Hope its clear now.
Regards