NP_OPTION_DRAW_SCALE=0.8 gives me a weird color image instead of grayscale. When returned to 1.0, the image is gray. VB6 code is below. I am using SDK Public Beta - Version 1.1.032 beta 01
oCamera.SetOption NP_OPTION_VIDEO_TYPE, NP_ONE
oCamera.SetOption NP_OPTION_FRAME_DECIMATION, NP_THREE
oCamera.SetOption NP_OPTION_DRAW_SCALE, 0.8
When "oCamera.SetOption NP_OPTION_DRAW_SCALE, 1.0", image returned is gray.
NP_OPTION_DRAW_SCALE <1.0 on grayscale gives color
-
- Posts: 22
- Joined: Tue Aug 14, 2007 7:26 am
Re: NP_OPTION_DRAW_SCALE <1.0 on grayscale gives c
The down-sampled greyscale works in 32 bit screen color modes but looks like it may have issues in (at least) 16 bit mode. We will look into this.
Just to verify, what is the bit depth you are running at on your system?
Just to verify, what is the bit depth you are running at on your system?
Re: NP_OPTION_DRAW_SCALE <1.0 on grayscale gives c
Thanks for the heads-up on this issue. I've submitted a fix. The next release is scheduled for a few days from now and will include the fix. Send support an email if you need it before then.
-
- Posts: 22
- Joined: Tue Aug 14, 2007 7:26 am
Re: NP_OPTION_DRAW_SCALE <1.0 on grayscale gives c
I am running 16-bit 1280 x 800 on Intel Mobile 945G Express Chipset. I changed to 32-bit color and the image is gray!
Thanks.
Mike
Thanks.
Mike