Solved

Saving webpage as PNG

Posted on 2009-05-17
2
226 Views
Last Modified: 2013-12-17
I have a requirement in my project to save a PNG from an actual webpage which is opened using a Windows Service.  This will be written 100% in C# 3.5 - no actual webpage will be visible to the user since it will be a windows service.  For example, if it had a request to take an image of http://www.mydomain.com/ at 300x600, it should make a 300x600 image of the webpage - not compressed, but rather a selection taken from the top left of the webpage at a 1:1 ratio (not reduced in size).  The most important part of this is that the website which has been turned into a picture should view this request as any user who is using a normal web browser - not an automated piece of software...

I would like to know if this is possible... I have never done it before and I dont even know where to begin.  Do you have any suggestions?  

Thank you,

Br
0
Comment
Question by:volumeIII
2 Comments
 
LVL 9

Accepted Solution

by:
cdaly33 earned 500 total points
ID: 24407717
You could use a utility such as ABCPDF which can read a webpage and export it to an image.

http://www.websupergoo.com/abcpdf-1.htm
0
 

Author Comment

by:volumeIII
ID: 24408039
stank you
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question