In a desktop app, I can display an image at 100%, then click a button to scale the picture 50% and increase Vertical and Horizontal resolution to 144. The displayed picture is crisp.
With the same code in a Web app, I see a grossly distorted scaled image. From the debugger I see the new Pic is still 72 dpi.
Public Function ScaledPic(p as Picture, W as Integer, H as Integer, Multiplier as integer) As Picture
Var Pic As New Picture(W/Multiplier, H/Multiplier)
Pic.VerticalResolution = 72 * Multiplier
Pic.HorizontalResolution = 72 * Multiplier
Pic.Graphics.DrawPicture(p, 0, 0, Pic.Width, Pic.Height, 0, 0, p.Width, p.Height)
Any work-arounds to display scaled images in a Web Framework 2 app?