title: C# Convert indexed pixel to new file bit32
body: <p>Does anybody have a sample code on how i could open a tif file, copy it out to a new locate from indexed pixel to new bitmap 32?</p>
  
  <p>I found this <a href="http://fci-h.blogspot.com/2008/02/c-indexed-pixel-problem.html" rel="nofollow noreferrer">http://fci-h.blogspot.com/2008/02/c-indexed-pixel-problem.html</a>  But i'm to new to piece it together.  Is there a possible way to just read this all in memory without actually creating a new file?</p>
  
  <p>What I mean is this.  I have to find the original file (which i already got).  Copy the file to a temp location (which I got).  What I don't understand is how when I copy that new file I need to keep the original size and give the new file a bitmap of 32.</p>
  
  <p>I can't draw an image over the picturebox because C# doesnt really support indexed pixels.</p>