Re: UNIDRV Grayscale Vector vs. DIB Conversion
- From: "Guy Light" <Guy.Light@xxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Apr 2006 09:53:33 -0400
Bobby,
I'm doing that.
The issue is when I ask for Mono or Grayscale I'm specifing *DrvBPP: 8 and
something is doing the conversion from color to 8-bit grayscale. That
something is doing different things for Vector/Text and BMP data.
Can I specify *DrvBPP: 24 for Mono and do the conversion myself? Or does
UNIDRV step in?
Thank you,
Guy Light
"Bobby Mattappally [MS]" <bobbym@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:5ZDZyA1XGHA.5296@xxxxxxxxxxxxxxxxxxxxxxxx
Hi Guy,
You can implement your own halftoning by implementing
IPrintOemUni::ImageProcessing
Thank you,
Bobby Mattappally
Microsoft
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
Reply-To: "Guy Light" <Guy.Light@xxxxxxxxxxxxxxxxx>
From: "Guy Light" <Guy.Light@xxxxxxxxxxxxxxxxx>
Subject: UNIDRV Grayscale Vector vs. DIB Conversion
Date: Tue, 11 Apr 2006 11:28:30 -0400
Lines: 60
UNIDRV is doing differnt GrayScale conversions for Vector and Bitmap
Objects.
In grayscale printmodes, GDI renders these differently
Vector objects use Gray = (R+G+B)/3
Bitmap objects use ?
Likely an NTSC luminance weighting, i.e., Gray = 0.3 * R + 0.59 * G + 0.11
*
B
How Do I get UNIDRV to do a GrayScale conversion Like NTSC luminance
weighting for all objects?
Here the current GPD Settings for ColorMode:
*%====================================================================
*% ColorMode Feature
*%====================================================================
*Feature: ColorMode
{
*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
*DefaultOption: Color24
*Option: Mono1
{
*rcNameID: =IDC_MONO_RADIO
*DevNumOfPlanes: 0
*DevBPP: 0
*DrvBPP: 8
*RasterMode: DIRECT
*IPCallbackID: 1
*Color? : FALSE
*Command: CmdSendBlockData { *Cmd: "" }
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: =""
}
}
*Option: Color24
{
*rcNameID: =IDC_COLOR_RADIO
*DevNumOfPlanes: 0
*DevBPP: 0
*DrvBPP: 24
*RasterMode: DIRECT
*IPCallbackID: 2
*Color? : TRUE
*Command: CmdSendBlockData { *Cmd: "" }
*Command: CmdSelect
{
*Order: DOC_SETUP.10
*Cmd: =""
}
}
}
Thank you,
Guy Light
.
- Follow-Ups:
- Re: UNIDRV Grayscale Vector vs. DIB Conversion
- From: Bobby Mattappally [MS]
- Re: UNIDRV Grayscale Vector vs. DIB Conversion
- References:
- UNIDRV Grayscale Vector vs. DIB Conversion
- From: Guy Light
- RE: UNIDRV Grayscale Vector vs. DIB Conversion
- From: Bobby Mattappally [MS]
- UNIDRV Grayscale Vector vs. DIB Conversion
- Prev by Date: Strange ddk lib unresolved external and kludgy fix
- Next by Date: Re: Strange ddk lib unresolved external and kludgy fix
- Previous by thread: RE: UNIDRV Grayscale Vector vs. DIB Conversion
- Next by thread: Re: UNIDRV Grayscale Vector vs. DIB Conversion
- Index(es):
Relevant Pages
|
Loading