Solved

Saving webpage as PNG

Posted on 2009-05-17
2
218 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now