Send a downloadable gamma table to the scanner.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_ISIS_drv_send_gamma( HISISDRV hDriver, AT_MODE nTag ); |
Name | Type | Description |
---|---|---|
hDriver | HISISDRV | The handle to the driver. |
nTag | AT_MODE | Specifies the downloadable gamma tag whose value is to be sent to the scanner. This should be one of the IG_ISIS_TAG_GAMMA_TABLEn tags. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
The IG_ISIS_drv_send_gamma function sends the downloadable gamma correction table stored in one of the downloable gamma tags down to the scanner.
Before calling IG_ISIS_drv_send_gamma, you should have already called IG_ISIS_drv_read_gamma_file with the tag specified in nTag to obtain a downloadable dither pattern from the user or called IG_ISIS_tag_set_long on nTag to configure a downloadable gamma table. Use IG_ISIS_drv_send_gamma to actually forward the gamma curve data to the scanner hardware.