Re: UNIDRV Grayscale Vector vs. DIB Conversion



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





.



Relevant Pages

  • Re: Saturate / Grayscale
    ... RGB to a six sided pyramid, aka hexcone, with white at the center of the ... converting to grayscale, the important characteristic of this hexcone is ... that it gives equal brightness ratings to Red, Green, and Blue. ... Photoshop's conversion to grayscale is somewhat more sophisticated. ...
    (comp.graphics.apps.photoshop)
  • Re: Saturate / Grayscale
    ... RGB to a six sided pyramid, aka hexcone, with white at the center of the ... converting to grayscale, the important characteristic of this hexcone is ... that it gives equal brightness ratings to Red, Green, and Blue. ... Photoshop's conversion to grayscale is somewhat more sophisticated. ...
    (comp.graphics.apps.photoshop)
  • Re: grayscale and Illustrator
    ... In which case we have to deal with the conversion to EPS as a factor. ... If I were to boil this thread down it would come to converting RGB to ... Grayscale or ... skeleton black. ...
    (comp.publish.prepress)
  • Re: UNIDRV Grayscale Vector vs. DIB Conversion
    ... some instances the Vector/Text conversion is different than the Bitmap/DIB ... When you say vector/Text, are you talking HPGL2 or PCLXL mode? ... UNIDRV step in? ... UNIDRV Grayscale Vector vs. DIB Conversion ...
    (microsoft.public.development.device.drivers)
  • Re: RGB conversion to 8 bit gray scale
    ... > RGB images are converted to grayscale using the formula ... > Edit/Options/Conversions (ImageJ 1.32g or later). ... what is the reason for the weighted vs unweighted conversion? ...
    (sci.image.processing)

Loading