You can convert from any format to 32 or 24 bpp easily. However, converting
to an indexed format from either of those requires the use of per-pixel
operations.
Ideally you'd use LockBits to facillitate these operations
See the GDI+ FAQ for details. It demonstrates LockBits and how to convert
from 32bpp into 1bpp.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Flix" <(E-Mail Removed)> wrote in message
news:433034f5$0$8476$(E-Mail Removed)...
> Is there some way to convert a Bitmap from one PixelFormat (16bit or with
> indexed colors) to another(24bit), without doing per pixel operations?
>