السلام عليكم ورحمة الله وبركاته
هل يوجد كود يعمل على استدارة الصورة ؟
هل يوجد كود يعمل على استدارة الصورة ؟
RotateType = {};
RotateType.Left = 3;
RotateType.Right =1;
function Rotate(imageFile, rotateType)
return DLL.CallFunction("AutoPlay\\Docs\\ImageEdit.dll", "Rotate", "\""..imageFile.."\""..","..rotateType, DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL);
end
Image.Load("Image1", Rotate(Image.GetFilename("Image1"), RotateType.Right));
rotatetype = {};
rotatetype.left = 3;
rotatetype.right =1;
function rotate(imagefile, rotatetype)
return dll.callfunction("autoplay\\docs\\imageedit.dll", "rotate", "\""..imagefile.."\""..","..rotatetype, dll_return_type_string, dll_call_stdcall);
end
image.load("image1", rotate(image.getfilename("image1"), rotatetype.right));
rotatetype = {};
rotatetype.left = 2;
rotatetype.right =1;
function rotate(imagefile, rotatetype)
return dll.callfunction("autoplay\\docs\\imageedit.dll", "rotate", "\""..imagefile.."\""..","..rotatetype, dll_return_type_string, dll_call_stdcall);
end
image.load("image1", rotate(image.getfilename("image1"), rotatetype.right));
RotateType = {};
RotateType.Left = 3;
RotateType.Right =1;
function Rotate(imageFile, rotateType)
return DLL.CallFunction("AutoPlay\\Docs\\ImageEdit.dll", "Rotate", "\""..imageFile.."\""..","..rotateType, DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL);
end
Image.Load("Image1", Rotate(Image.GetFilename("Image1"), RotateType.Right));
تعليق