>> Given a file or and Image of type Indexed Pixel Format is there a
>> method to convert it to some other pixel format?
This is where I am now. Two problems:
1) I don't know what is a good PixelFormat to use.
What is the default?
2)ClonedBitmap has the same (Indexed) PixelFormat as ReadBitmap.
I was hopping it would be converted to Format32bppPArgb (even tho I don't
know that's a good one.)
Thanks for any help
Dim Filestream As Filestream = New Filestream(OpenFileDialog1.FileName,
FileMode.Open)
Dim ReadBitmap As New Bitmap(Filestream)
Dim CloneRect As New RectangleF(0, 0, ReadBitmap.Width, ReadBitmap.Height)
Dim ClonedBitmap = ReadBitmap.Clone(CloneRect,
Imaging.PixelFormat.Format32bppPArgb)