裁剪图片 - Cropped
函数简介
裁剪图片
接口名称
Cropped
DLL调用
long Cropped(long ola, long image, int x1, int y1, int x2, int y2)
参数定义:
ola
(长整型数): OLAPlug对象的指针,由DLL版本 CreateCOLAPlugInterFace 接口生成image
(长整型数): OLAImage对象的地址x1
(整型数): 区域的左上角X坐标y1
(整型数): 区域的左上角Y坐标x2
(整型数): 区域的右下角X坐标y2
(整型数): 区域的右下角Y坐标
示例:
待补充...
COM调用
long Cropped(long image, int x1, int y1, int x2, int y2)
参数定义:
image
(长整型数): OLAImage对象的地址x1
(整型数): 区域的左上角X坐标y1
(整型数): 区域的左上角Y坐标x2
(整型数): 区域的右下角X坐标y2
(整型数): 区域的右下角Y坐标
示例:
待补充...
返回值
裁剪后的图像指针
注意:图片使用完后需要调用 FreeImagePtr 接口进行释放