Reply
ASP.net image resizing
Old 04-05-2008, 12:21 AM ASP.net image resizing
itHighway's Avatar
Average Talker

Posts: 27
Name: Zeeshan Dar
Location: GUJ
Hello,
I am looking for asp.net script that can:
- Resize width and height of given image
- Save resized image to disk.
- The name of resized image should be [image name]_T.jpg

Please advice.

Thank you,
__________________
Zeeshan Dar
itHighway - web design development custom e-commerce solution & web based real estate listing software services provider
itHighway is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 04-07-2008, 03:53 PM Re: ASP.net image resizing
Learning Newbie's Avatar
Moderator

Posts: 4,880
Name: John Alexander
Bitmap bmp= new Bitmap("c:\xxx\filename.jpg");
Bitmap createNew = bmp.GetThumbnailImage(x, y, null, IntPtr.Zero);
createNew.Save(yyy);

http://msdn2.microsoft.com/en-us/lib...ing.image.aspx
http://www.codeproject.com/KB/GDI-plus/imageresize.aspx
__________________
4 ways to improve the lives of the "bottom billion"

"HEY YOU KIDS GET OFF MY LAWN!" -John McCain
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to ASP.net image resizing
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10611 seconds with 13 queries