Link to home
Start Free TrialLog in
Avatar of SkipFire
SkipFire

asked on

VB.NET Resize Image

I have the code below to convert a TIF to a JPG, however I would like to be able to resize the image as well.  The conversion works correctly, how do I resize as well?

        Dim originalimage As System.Drawing.Image = System.Drawing.Image.FromFile(Server.UrlDecode(Request.QueryString("Path")))
        Response.ContentType = "image/jpeg"
        Call Response.Clear()
        Response.BufferOutput = True
        Call originalimage.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg)
ASKER CERTIFIED SOLUTION
Avatar of dave_moats
dave_moats

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial