What's wrong? Am I too stupid? Is C# not able? Here's the code:
System.Drawing.Image img = System.Drawing.Image.FromFile(name); PropertyItem i = img.PropertyItems[0]; i.Id = 0x010E; // PropertyTagImageDescription i.Type = 1; i.Value = System.Text.Encoding.ASCII.GetBytes(s); i.Len = i.Value.Length+1; img.SetPropertyItem(i); img.RotateFlip(RotateFlipType.Rotate90FlipNone); img.RotateFlip(RotateFlipType.Rotate270FlipNone); img.Save(name, ImageFormat.Jpeg);