Thread: C# основной форум/C# Process large images

C# Process large images
.NET does not handle large images well.
One of the way is to fix this issue is to load an image as a stream:

  using (var memoryStream = new MemoryStream(File.ReadAllBytes(path)))
            {
                using (var image = Image.FromStream(memoryStream))
                {