Prototype |
long cdecl ImSave(char* filename, void* ldv_img, char* save_options) ; |
Parameters |
filename: name of file to save image ldv_img: LDV_IMAGE structure defining image to save save_options: standard options, separated by '';',(option=<value>): fmt = <3 characters defining image format> quality=<quality 0...100> (JPEG) flipflop=<0 ou 2> (0: no flip-flop, 2: Y flip-flop) (TGA) compression=<none or lzw> (TIF) byteorder=<motorola or intel> (TIF) |
Return |
LDV_STATUS |
Description |
Saves an image residing in memory to a file |
Comments |
Example status = Vapi->ImSave( "h:\\test.tif", ldv_img, "fmt=TIF;compression=LZW;byteorder=motorola" ) ; Some options depend on the format; they may be ignored by the driver in charge of saving Check out opnsav.vcs script for an example on the options |
Version VAPI |
1.09 or more |