WIA clarification

Hi,

I am now writing a WIA driver. It supports MEMORY_BMP and BMP formats. I am
getting the data from our customer’s image processing library as RAW
format.Since in BMP image is stored from the bottom up, i am doing the
flipping of image in the minidriver itself.

So for BMP and MEMORYBMP formats the scanned image is displayed properly.
But “Preview” image is vertical flipped. Any idea why this happens.

What is the method to distinguish between Preview and Final scan modes in
WIA minidriver. Then hopefully i can do some workaround.

Also if you take the WIA scanner sample driver in ddk ( wiascanr ) the same
bug exists there. Preview image is a vertical flip of the Scan Image.

Any inputs would be highly useful.

regards,
Anoop
NeST