PDA

Click to See Complete Forum and Search --> : ASP.NET - Images: Resize and Save


Beacon
Apr 5th, 2005, 07:17 PM
Does anyone know if its possible to resize an image file to certain proportions using ASP.NET?
By resizing a dont mean when displaying them i mean actually resizing the file and saving it.

cheers
b

Danial
Apr 5th, 2005, 08:06 PM
Does anyone know if its possible to resize an image file to certain proportions using ASP.NET?
By resizing a dont mean when displaying them i mean actually resizing the file and saving it.

cheers
b

Hi Beacon, Good to see you back here.

Here is an example(C#) I found after googling http://www.codeproject.com/csharp/imageresize.asp. and another one if you want to generate thumbnail http://www.codeproject.com/aspnet/pnguploader.asp

Hope it helps.

Beacon
Apr 6th, 2005, 01:47 AM
Thanks Danial havent seen you for a while. But sadly only popping by for a quick questions.

I've tried both and cant get them to work.

The PNG uploader works but increases the files size! Weird!