B
Benjamin Lukner
Hi!
I just became aware that on my b/w Pocket PC device all colors are
transformed to gray if I use e.g. Drawing.Graphics.FillRectangle.
I thought they won't be transformed before the bitmap is written on the
display.
Is this behaviour a feature of .Net (Compact Framework) or depends it on
the graphics driver provided by the manufacturer?
In other words:
Is it possible to detect a b/w device through printing a color (=00FF00)
on a bitmap and compare it with Bitmap.GetPixel() (=555555)?
Is there a better (more failsafe) way to do it?
Kind regards,
Benjamin Lukner
I just became aware that on my b/w Pocket PC device all colors are
transformed to gray if I use e.g. Drawing.Graphics.FillRectangle.
I thought they won't be transformed before the bitmap is written on the
display.
Is this behaviour a feature of .Net (Compact Framework) or depends it on
the graphics driver provided by the manufacturer?
In other words:
Is it possible to detect a b/w device through printing a color (=00FF00)
on a bitmap and compare it with Bitmap.GetPixel() (=555555)?
Is there a better (more failsafe) way to do it?
Kind regards,
Benjamin Lukner