This project is read-only.
WebScreenshotExtractor can be used for creating screenshots of web pages.

Example:

WebScreenshotExtractor ext = new WebScreenshotExtractor(new Uri("http://msug.vn.ua"));
pictureBox1.Image = ext.Image;

Result:



You may set width and height:

WebScreenshotExtractor ext = new WebScreenshotExtractor(new Uri("http://msug.vn.ua"), 1024, 800);
pictureBox1.Image = ext.Image;

Result:



Making thumbnails:

pictureBox1.Image = ext.Image.GetThumbnailImage(100, 100, null, IntPtr.Zero);

Extension methods for working with images:
  • ToGrayScale
  • Scale
  • ResizeWithCrop
  • Resize
  • GetThumbnail
  • GetImageSizeType

Last edited Mar 11, 2011 at 4:18 PM by akrakovetsky, version 1

Comments

No comments yet.