Windows Image Acquisition RRS feed

  • Pregunta

  • Hi, I'm using WIA to get images from my scanner, everything is working just fine, but i have one question.

    first this is the code of how i'm getting the image:

    ImageFile imageObject = null;
    CommonDialogClass WiaManager = new CommonDialogClass();
    imageObject = WiaManager.ShowAcquireImage(WiaDeviceType.ScannerDeviceType,
        WiaImageIntent.GrayscaleIntent, WiaImageBias.MinimizeSize,
        outputFormat.Guid.ToString("B"), false, true, true);

    I'm telling that i want to scan an image in grayScale using lower quality, but everytime the dialogBox is shown i have to change the values cuz by default is selected Color Image and the resolution is always 200dpi when i want grayScale and resolution 75 dpi

    is there a way of doing that??

    martes, 20 de julio de 2010 16:31