这是一个锐化效果的简单应用。一开始我们需要一个ImageGlue
Canvas。我们创建了一个并放了一个船的图片。
thePath = Server.MapPath("images/boat.jpg")
Set theCanv = Server.CreateObject("ImageGlue.Canvas")
theCanv.DrawFile thePath, ""
|
|
 |
|
下一步我们来添加锐化效果在这张图片上。
Set theFX = Server.CreateObject("ImageEffects.FX")
theFX("Sharpen").Image = theCanv.Image
theFX("Sharpen").Apply
我们保存这张变化了的图片。
thePath = Server.MapPath("images/sharpboat.jpg")
theCanv.SaveAs thePath, ""
|
|
 |
|
|
这就是效果,是不是真的很简单? |
|
|
|
|
|