Hi guys,
Am I right in thinking that the DrawImage method will only render in
8bits/pixel ?
I have the following code (assume my16bitImage is a 16bit bitmap in memory)
....
myMatrix = new Matrix ();
myMatrix.RotateAt (angle, centrePoint, MatrixOrder.Append);
Bitmap testBitmap = new Bitmap (1000,1000, PixelFormat.Format48bppRgb);
Graphics testGraphic = Graphics.FromImage (testBitmap);
testGraphic.Transform = myMatrix;
testGraphic.DrawImage(my16bitImage, 0.0f, 0.0f);
myPictureBox.image = testBitmap;
....
The result is a very messy image ;(
Anyone know the answer to this and a way I can get around it ? The reason I
want to use DrawImage is so I can apply the rotation matrix.
Thanks in advance
Todd,.