I am using this for getting the screen shot of a webpage. The width and height of a screenshot is displaying same as the webpage width and height.
But I need screenshot which has dimensions 250x250 irrespective of webpage dimensions.
I tried to hardcode the width and height of the image in the method run() in RenderingBrowser. Then I am getting the image size as 250x250 but the content of the image is not getting fully (only getting the 250x250 part in the total size).
Please suggest me where I have to change the image width and height if it is possible.
Thanks in advance.. its very urgent.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Scrender is excellent work.
I am using this for getting the screen shot of a webpage. The width and height of a screenshot is displaying same as the webpage width and height.
But I need screenshot which has dimensions 250x250 irrespective of webpage dimensions.
I tried to hardcode the width and height of the image in the method run() in RenderingBrowser. Then I am getting the image size as 250x250 but the content of the image is not getting fully (only getting the 250x250 part in the total size).
Please suggest me where I have to change the image width and height if it is possible.
Thanks in advance.. its very urgent.