Help!!!!!! Turn BMP JPG image format example
Help!!!!!! Turn BMP JPG image format example
CodePudding user response:
You can refer to thehttp://download.csdn.net/detail/lzp_lrp/9740200
CodePudding user response:
Reference to invoke an error afterCodePudding user response:
/*
Save the file * to specify the format
* parameters:
* ul picture handles
* filename to save the file name
* format image format can be specified as BMP, JPG, PNG, if not, the three default PNG format for
* encoderQuality picture quality 0-100, the smaller the value, the smaller the picture
* width the width of the picture
The height of the * height images
*/
The Function Boolean SatImage_Save (ulong ul, String filename, String format, ulong encoderQuality, long width, long height) library "satrda. DLL
"
Save the code
ulong ll_image
Ulong ll_width, ll_height
Ll_image=n_api. Satimage_createfromfile (" d:/satrda. PNG ")
N_api. Satimage_save (ll_image, "d:/satrda1. PNG", "PNG", 50, 100, 100)
N_api. Satimage_getsize (ll_image ll_width, ll_height)
N_api. SatImage_destroy (ll_image)
Messagebox (" w ", ":" + string (ll_width) + ", h: "+ string (ll_height))
Can add QQ group: 345559891 downloads, including image processing and file upload download and instant communication function, these functions use free of charge.
CodePudding user response:
Image processing of LEADTOOLS OCX controls, very strong ~CodePudding user response:
WXJ DLL can be used, although the fees, but also good,