I assume this is a bitmap image. Actually, such images are not zoomable. Yes, you see zooming of them everywhere, but this is a zoom done via
resampling. Basically, you need to have a source image of big size, as big as possible, and resample it to smaller sizes, because trying to resample it up give ugly results.
It is all already well implemented in .NET. With ASP.NET, you can use
System.Drawing
. Please see my past answers:
resize image in vb.net[
^],
Read Big Tiff and JPEG files (>(23000 x 23000) pix) in a stream. And display part of it to the screen in realtime.[
^],
Zoom image in C# .net mouse wheel[
^].
—SA