Image Resizing in ASP.Net 2.0

  • Thread starter Thread starter Alok Shukla
  • Start date Start date
A

Alok Shukla

Hello,

I am working in an application where I need to increase the image resolution.

Suppose if the user provides an image of height and width 150 x 100, I want to increase the image size to some 400 x 350 and save it.

I have searched many articles but they all are for decreasing the image size. Some are there but they are plug-ins. I don’t want to use any plug-in.
I want to achieve this through code. Please guide me in this.

I am using ASP.Net 2.0 with C#.

Thanks in advance,
Alok
 
Create a new bitmap of the required size and DrawImage() on its graphics (got
by calling CreateGraphics() I believe) passing 0,0 as the location and the
full size as the height and width.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Resize Image 2
Images: Dynamic Resize? Quality? 3
Proportional resizing of an image 3
Resize image in asp.net 2
Image Resizing. 2
ImageLists and runtime resizing 1
Magnify Image? 3
resizing a JPG image 1

Back
Top