1 <%
2 ' This code will show you how to make SMOOTH effect on the image.
3   
4 Dim oGraphic
5 Set oGraphic = Server.CreateObject("PhotoSprite.Graphic")
6   
7   ' Original image name
8   oGraphic.SourceFile = Server.MapPath( "images/demo.jpg" )
9   
10   ' Destination image name, and can make the same as the original image name
11   oGraphic.DestFile   = Server.MapPath( "images/tmp/smooth.jpg" )
12   
13   
14   ' Processing smooth effect
15   oGraphic.Smooth
16   
17 Set oGraphic = Nothing
18 %>
19   
20 <%
21 ' Show the contrastive effect
22 Response.Write "<img src=""images/demo.jpg"" border=""0"">"
23 Response.Write "<img src=""images/tmp/smooth.jpg"" border=""0"">"
24 %>
25