title: How to open large images in Visual studio 2012 express?
body: <p>I want to open a 86009x6781 png image in c# using the system drawing class, but I get a <code>c# System.OverflowException</code> exception. This is my code.</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Drawing;
  
  namespace ImageSplit
  {
      class Program
      {
          static void Main(string[] args)
          {
              Bitmap src = Image.FromFile("C:/Users/me/Desktop/Pic/Class_UML.png") as Bitmap;
  
          }
      }
  }
  </code></pre>
  
  <p>Does anyone know how to fix this?</p>
  
  <p>Thanks</p>