On Sat, 01 Mar 2008 17:51:02 -0800, bern11 <be****@yahoo.comwrote:
>
I had seen some references to formats not working, but I did get
these 16 bit formats to work: Format16bppArgb1555, Format16bppRgb555,
Format16bppRgb565 with an idiot-simple clone statement such as:
bmpTemp = bmpBuffer.Clone(new Rectangle(0, 0, bmpBuffer.Width,
bmpBuffer.Height), PixelFormat.Format16bppArgb1555);
I can't get the indexed formats to work though...
Well, you're better off than I am. I couldn't even get all of those
formats to work via cloning. :( Rgb555 and Rgb565 worked, but the
Argb1555 threw the same out-of-memory exception I get with other
unsupported formats. And the formats that work with cloning, they work
fine just creating a bitmap from scratch too (i.e. the cloning is a red
herring).
Pete