473,408 Members | 2,009 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Capture WebPage as any Image format

Hi All,

We are working in a web application and we wanted to capture the full
webpage into an image file.

FULL WEBPAGE means, the page which is below the visibility of the screen and
you need to scroll down the page.

Am trying with GetActiveWindow MFC to gethold of the currnet window, but
could only read the visible area(length X width of the screen) but not the
page which is bellow the screen resolution.

Can some one suggest me a solution to capture any web page into any kind of
image format?

Anyhow, thanks for reading my post.

--
Every thing is perfect, as long as you share!!!
Feb 6 '07 #1
3 3506
This is what I came up with:

http://www.eggheadcafe.com/tutorials...ching-asp.aspx

Cheers,
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Chakravarthy" wrote:
Hi All,

We are working in a web application and we wanted to capture the full
webpage into an image file.

FULL WEBPAGE means, the page which is below the visibility of the screen and
you need to scroll down the page.

Am trying with GetActiveWindow MFC to gethold of the currnet window, but
could only read the visible area(length X width of the screen) but not the
page which is bellow the screen resolution.

Can some one suggest me a solution to capture any web page into any kind of
image format?

Anyhow, thanks for reading my post.

--
Every thing is perfect, as long as you share!!!
Feb 6 '07 #2
With in the code i found, "DrawToBitmap()" method. And also surprised to read
from the MSDN Library as, "This method is not intended to be used directly
from your code"

Can you help me in understanding as how you could do that. And one more
thing, "DrawToBitmap()" method is not from WebBroswer class, but from
WebBroswerBase class.

Am bit confused, can you explain little..

Anyhow, thanks for your reply.

--
Every thing is perfect, as long as you share!!!
"Peter Bromberg [C# MVP]" wrote:
This is what I came up with:

http://www.eggheadcafe.com/tutorials...ching-asp.aspx

Cheers,
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Chakravarthy" wrote:
Hi All,

We are working in a web application and we wanted to capture the full
webpage into an image file.

FULL WEBPAGE means, the page which is below the visibility of the screen and
you need to scroll down the page.

Am trying with GetActiveWindow MFC to gethold of the currnet window, but
could only read the visible area(length X width of the screen) but not the
page which is bellow the screen resolution.

Can some one suggest me a solution to capture any web page into any kind of
image format?

Anyhow, thanks for reading my post.

--
Every thing is perfect, as long as you share!!!
Feb 14 '07 #3
What's to explain? It works. "If it ain't broke, don't fix it".
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Chakravarthy" wrote:
With in the code i found, "DrawToBitmap()" method. And also surprised to read
from the MSDN Library as, "This method is not intended to be used directly
from your code"

Can you help me in understanding as how you could do that. And one more
thing, "DrawToBitmap()" method is not from WebBroswer class, but from
WebBroswerBase class.

Am bit confused, can you explain little..

Anyhow, thanks for your reply.

--
Every thing is perfect, as long as you share!!!
"Peter Bromberg [C# MVP]" wrote:
This is what I came up with:

http://www.eggheadcafe.com/tutorials...ching-asp.aspx

Cheers,
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Chakravarthy" wrote:
Hi All,
>
We are working in a web application and we wanted to capture the full
webpage into an image file.
>
FULL WEBPAGE means, the page which is below the visibility of the screen and
you need to scroll down the page.
>
Am trying with GetActiveWindow MFC to gethold of the currnet window, but
could only read the visible area(length X width of the screen) but not the
page which is bellow the screen resolution.
>
Can some one suggest me a solution to capture any web page into any kind of
image format?
>
Anyhow, thanks for reading my post.
>
--
Every thing is perfect, as long as you share!!!
Feb 14 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Matthias Kwiedor | last post by:
Hello! How can i capture a Webpage, using the axWebBrowser to a Image File (BMP). I found some code for this, but it captures only the "visible" part of the Page and not the whole page which...
3
by: Shrage H. Smilowitz | last post by:
Can someone guide me to what is involved to take a snap shot of a web page using .Net, i kow there is third party components that allows to do that, but i want to create my own. Shrage
11
by: Bob Hollness | last post by:
Hi all (me again. I do try to answer the posts I can instead of just asking!!!) Any ideas how I could load a webpage into a control that was about the size of a stamp? I tried a few things but...
2
by: ghostrider | last post by:
Hi, I am working on an access app and need to capture still images from a monitor connected to medical equipment. The video out port on the monitor is connected to a video card in the computer...
4
by: Paolo Pantaleo | last post by:
Hi, I need to capture a screen snapshot in Linux. PIL has a module IageGrab, but in the free version it only works under Windows. Is there any package to capture the screen on Linux? Thnx...
2
by: yoring | last post by:
Hi, I want to capture a web site into gif image using Python. I installed the PIL if it can help.
1
by: JP2006 | last post by:
I'm trying to write a control that will take a screen capture of a particular website when a user submits a form in a web application; one of the form fields is for a URL - the control needs to get...
12
by: M.L. | last post by:
When loaded from my hard drive, the webpage I'm working on renders fine on IE6, Firefox 2.0.0.1, and Opera 9.02. However, after uploading it to the web there are 2 images that fail to display on...
0
by: =?Utf-8?B?Q2hha3JhdmFydGh5?= | last post by:
Hi, Have been trying to capture the webpage as image from quite a long time. Can some one suggest me a solution to convert or capture the HTML Output of any webresponse to anykind of image...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.