|
|
IG_IP_encrypt
Group: Image ProcessingDeclaration:
AT_ERRCOUNT ACCUAPI IG_IP_encrypt (HIGEAR hIGear, LPAT_RECT lpRect, AT_MODE nEncryptType, const LPSTR lpszPassword );Arguments:
Description:
This function scrambles an image bitmap, or a rectangular portion thereof. Your password is also stored. To later decode the image using IG_IP_decrypt(), you will need to know both the encryption method and the password used in this call.
Bits Per Pixel: 1, 4, 8, 24
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
NOTE: This function cannot take a non-rectangular ROI for its AT_RECT parameter.Example:
HIGEAR hIGear; /* Encrypt the whole hIGear image by method A & with "Top Secret" password */ IG_IP_encrypt ( hIGear, NULL, IG_ENCRYPT_METHOD_A, "Top Secret" );Sample: FlashPix
|
AccuSoft Co. AccuSoft's Web Site Voice: (508) 351-9092 Fax: (508) 351-9086 E-mail Address |
|
|