ImageGear for C and C++ on Windows v19.4 - Updated
IG_ISIS_drv_send_gamma
API Reference Guide > ISIS Component API Reference > ISIS Component Functions Reference > Driver Communication and Setup Functions > IG_ISIS_drv_send_gamma

Send a downloadable gamma table to the scanner.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ISIS_drv_send_gamma(
        HISISDRV hDriver,
        AT_MODE nTag
);

Arguments:

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.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

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.

See Also:

IG_ISIS_drv_read_gamma_file

IG_ISIS_drv_send_dither

IG_ISIS_TAG_GAMMA

IG_ISIS_TAG_GAMMA_TABLEn