Skip to content

Instantly share code, notes, and snippets.

View ModernHooman's full-sized avatar
🎯
Focusing

Hooman Limouee ModernHooman

🎯
Focusing
View GitHub Profile
@ModernHooman
ModernHooman / ImageEditor.cs
Created March 6, 2018 11:53
A function/method to change dimensions of an Image in C#
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
namespace ConsoleApplication {
public class ImageEditor {
/// <summary>
/// Resize the image to the specified width and height.
/// </summary>