Control panel
Webmail


Back

Example: AspJpeg
AspJpeg example:
Here is an example on how to use AspJpeg on the windows platform

<%
'see your path
'response.write(Server.MapPath("default.asp") & "")


' set path
path = "C:\webs\talkactive\" & [custotomerno] & "\" & [domain]

' Create instance of AspJpeg
Set Jpeg = Server.CreateObject("Persits.Jpeg")

' Open source image
Jpeg.Open path & "\sourceimage.gif"

' New width in pixels
L = 50

' Resize, preserve aspect ratio
Jpeg.Width = L
Jpeg.Height = Jpeg.OriginalHeight * L / Jpeg.OriginalWidth

' create thumbnail and save it to disk
Jpeg.Save path & "\thumbnail.jpg"

%>

See more examples:
http://aspjpeg.com/manual.html