资 源 简 介
This library will let you create thumbnails from any image file, image on any web site or live screen shot from a web site.
Current Version: 0.7
Description:
This project contains a image library and a web test project. It is written in C# 4.0 for VS 2010.
Just open the .sln file in Visual Studio 2010 and launch the web project to see the test.
Quick Example
Tumbnail of a website:
ImageScale scale = new ImageScale(new Uri("http://cnn.com"), 100, 100);scale.SaveFile(@"c:cnn_com.png", 100);
It will get a screen dump of cnn.com and make a 100x100 image that is saved locally.
You can save the image data as:
* File
* Byte Array
* Stream