Lines Matching defs:image
118 #include "u12-image.c"
1559 ImgDef image;
1597 /* All ready to go. Set image def and see what the scanner
1646 memset (&image, 0, sizeof(ImgDef));
1649 image.xyDpi.x = ndpi;
1650 image.xyDpi.y = ndpi;
1651 image.crArea.x = left; /* offset from left edge to area you want to scan */
1652 image.crArea.y = top; /* offset from top edge to area you want to scan */
1653 image.crArea.cx = width; /* always relative to 300 dpi */
1654 image.crArea.cy = height;
1655 image.wDataType = scanmode;
1659 case 1: image.dwFlag |= _SCANDEF_Transparency; break;
1660 case 2: image.dwFlag |= _SCANDEF_Negative; break;
1667 image.dwFlag |= _SCANDEF_PREVIEW;
1676 result = u12image_SetupScanSettings( dev, &image );