encoder.Save(st)
var allFrame=new List<BitmapFram>(); var encoder=new JpegBitmapEncoder{Rotation=rotation}; encoder.Frames.Add(frm); using(Stream st=new FileStream(@"c:\\1.tiff",FileMode.Create)) { encoder.Save(st);//rotate fram } allFrame.AddRange(encoder.Frames);
System.Drawing.Bitmap
System.Drawing.Graphics
Graphics
Graphics.RotateTransform
System.Drawing.Graphics.DrawImage
// Load an image from disk Image img = Image.FromFile(@"your file path"); // Rotates the image clockwise 90 degrees image.RotateFlip(RotateFlipType.Rotate90FlipNone);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)