matojo2006 Posted August 14, 2008 Share Posted August 14, 2008 Can I use Paint.NET APIs to resize an image and save ? Basically, I am trying to develop an online album feature using ASP.NET and C# and need to reduce the size of images programmatically if the uploaded image is too large. Do you have any C#/VB.NET sample code on how to achieve this ? - Tony Link to comment Share on other sites More sharing options...
pyrochild Posted August 15, 2008 Share Posted August 15, 2008 Paint.NET's source code is all available from the Paint.NET Download page. ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
harold Posted August 15, 2008 Share Posted August 15, 2008 What's wrong with: Bitmap newsizedbitmap = new Bitmap(oldbitmap, new Size(int x, int y); or something like it and then ofcourse save it with the right filetype.. or did I miss something? I would write plugins, if I knew what kind of plugins were needed.. Link to comment Share on other sites More sharing options...
Rick Brewster Posted August 16, 2008 Share Posted August 16, 2008 Sorry, but this forum is for plugin development questions only. Thread Closed The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts