SyntaxFix
Write A Post
Hire A Developer
Questions
public static Stream ToStream(this Image image) { var stream = new MemoryStream(); image.Save(stream, image.RawFormat); stream.Position = 0; return stream; }