Answers for "c# encode jpg hiight quality"

C#
0

c# encode jpg hiight quality

var encoder = ImageCodecInfo.GetImageEncoders().First(c => c.FormatID == ImageFormat.Jpeg.Guid);
var encParams = new EncoderParameters() { Param = new[] { new EncoderParameter(Encoder.Quality, 90L) } };
image.Save(path, encoder, encParams);
Posted by: Guest on September-29-2020

C# Answers by Framework

Browse Popular Code Answers by Language