VS 2010 Merge Two TIFFs And Save As New TIFF?Feb 24, 2012
I have a conceptually simple task:Read in two TIFF imagesOverlay the second image onto the firstSave as a new TIFFOne catch: The first TIFF is 40,000 pixels by 0,000 pixels, 8-bit indexed color. Yes, I need a lot of memory. I'd like to get to that later. (The second TIFF is also 8-bit.)I've found GDI+ (System.Drawing) to be incredibly restrictive. I cannot create a Graphics object from an 8-bit indexed color bitmap, for one thing (something that woul trying to learn WPF (System.Windows.Media.Imaging). I've been following several examples from MSDN and looking all around but nothing is working. Here's what I have so far:
Dim workingDir As String = "C: emp"
Dim baseimg As String = "base.tif"
Dim overlayimg As String = "overlay.tif"