Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.
Set Jpeg = Server.CreateObject("Persits.Jpeg") ResizePath2 = "e:\home\site\web\photos\"&request("photo")&"" Jpeg.Open ResizePath2 Jpeg.PreserveAspectRatio = True L = 100 If Jpeg.OriginalWidth > Jpeg.OriginalHeight Then Jpeg.Height = L Else Jpeg.Width = L End If Jpeg.Sharpen 1, 120 xCropWidth = 100 xCropHeight = 80 xOffset = int((Jpeg.Width-xCropWidth)/2) yOffset = int((Jpeg.Height-xCropHeight)/2) Jpeg.Crop xOffset, yOffset, Jpeg.Width-xOffset, Jpeg.Height-yOffset Jpeg.SendBinary
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.