Created
August 11, 2010 14:59
-
-
Save shinyzhu/519107 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Save 100 quality JPEG image in C# | |
var combinedImage = ImageCombiner.Combine(16, images); | |
var encoder = ImageCodecInfo.GetImageEncoders().FirstOrDefault(e => e.MimeType == "image/jpeg"); | |
var encoderParams = new EncoderParameters(); | |
encoderParams.Param[0] = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, 100L); | |
combinedImage.Save("wall_big.jpg", encoder, encoderParams); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment