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?
I found this http://fci-h.blogspot.com/2008/02/c-indexed-pixel-problem.html 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?
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.
I can’t draw an image over the picturebox because C# doesnt really support indexed pixels.
This does what you want I think…
If you dont need to save it, just work with ‘bm’ after you do the DrawImage, that is your image as a Bitmap…