我需要将Bitmap转换PixelFormat.Format32bppRgb为PixelFormat.Format32bppArgb.
我希望使用Bitmap.Clone,但似乎没有用.
Bitmap orig = new Bitmap("orig.bmp");
Bitmap clone = orig.Clone(new Rectangle(0,0,orig.Width,orig.Height), PixelFormat.Format24bppArgb);
Run Code Online (Sandbox Code Playgroud)
如果我运行上面的代码然后检查clone.PixelFormat它被设置为PixelFormat.Format32bppRgb.怎么回事/如何转换格式?