mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
569 B
20 lines
569 B
using System;
|
|
using System.Numerics;
|
|
using ImageSharp;
|
|
|
|
namespace Scratch
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
using (var image = Image.Load(@"C:\Users\tocso\Desktop\92d8758c-471c-11e7-81d8-62ec301b092a (1).jpg")) {
|
|
|
|
//image.Fill(Rgba32.Beige, b => b.AddBezier(Vector2.UnitX, Vector2.UnitX, Vector2.UnitX, Vector2.UnitX));
|
|
|
|
image.Resize(640, 480)
|
|
.Save(@"C:\Users\tocso\Desktop\92d8758c-471c-11e7-81d8-62ec301b092a (1)-saved.jpg");
|
|
}
|
|
}
|
|
}
|
|
}
|