How to resize the image using ImageSharp in C#

Опубликовано: 04 Октябрь 2024
на канале: IT Core Soft
1,920
5

Download from this link:
https://github.com/hamza3344/resize/b...

My fiverr link: https://www.fiverr.com/hamzakhalid178
My Upwork Profile: https://www.upwork.com/freelancers/~0...

Whatsapp Number: +923338672398

contact me on [email protected] for custom software's.
Please share and like the video and subscribe the channel
If any question comment below

using Image = SixLabors.ImageSharp.Image;
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp;

using(var image=Image.Load("sample.jpg"))
{
image.Mutate(x =gt; x.Resize(100, 100));
image.Save("newsample.jpg");
}